How to rename "Related products", or delay it, and center title.

This topic has 5 replies, 2 voices, and was last updated 8 years, 9 months ago ago by Eva Kemp

  • Avatar: jiaqing
    jiaqing
    Participant
    February 17, 2016 at 14:22

    Hi,
    can you please give me the way to (please see an example at http://www.galasxy.com/product/with-love-hugs/):

    1 – rename “Related Products” into “Related paintings”, or whatever I want.
    2 – center the titles and prices for the related products.
    3 – in case I would like to: entirely delay the “Related Products” that appear with all single products.

    Many thanks in advance!
    Gilles.

    4 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    February 17, 2016 at 15:10

    Hello,

    1. You need edit the file wp-content/themes/theleader/woocommerce/single-product/related.php (line 27).

    2. Add this code in custom.css file:

    .slide-item .product .product-name, .slide-item .product .price{
       text-align: center;
    }

    How to create custom.css you can watch in this tutorial (it’s for Legenda theme but the process is the same).

    3. To remove related products add this code in custom.css file:

    .single-product-page .slider-container {
       display: none;
    }

    Regards,
    Eva Kemp.

    Avatar: jiaqing
    jiaqing
    Participant
    February 17, 2016 at 15:21

    thanks, but I added

    .slide-item .product .product-name, .slide-item .product .price{
    text-align: center;
    }

    for the question 2, the title and prices still not centered…

    Please note: my question is for “Related products”, I already added a custom css for the products lists pages.

    Avatar: jiaqing
    jiaqing
    Participant
    February 17, 2016 at 15:26

    sorry please don’t consider my last message, as everything works now.
    Thank you very much.

    Avatar: Eva
    Eva Kemp
    Support staff
    February 17, 2016 at 15:37

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘How to rename "Related products", or delay it, and center title.’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.