How to edit the font on the single product page

This topic has 9 replies, 3 voices, and was last updated 4 years, 7 months ago ago by Olga Barlow

  • Avatar: Ann Sanicola
    Ann Sanicola
    Participant
    May 4, 2020 at 01:46

    I’ve trying to edit the font size for the Product Name on the Single product page. Editing the fonts in the typography has no effect

    Please, contact administrator
    for this information.
    8 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 4, 2020 at 10:00

    Hello,

    Add the next code in Theme Options > Custom CSS:

    .single-product-page .product-info .product_title {
        font-size: 20px;
        line-height: 1.2;
    }

    Regards

    Avatar: Ann Sanicola
    Ann Sanicola
    Participant
    May 4, 2020 at 20:03

    Thanks! That worked. Why did it suddenly get huge anyway?

    Avatar: Ann Sanicola
    Ann Sanicola
    Participant
    May 4, 2020 at 20:26

    i guess my question for going forward is why editing of the typography in the Theme options does not affect this? Will editing those fields change anything? I thought I was editing the right place since I found what I though was the right font style using inspect. I don’t want to keep bugging you.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 5, 2020 at 20:18

    Hello,

    Because single product title does not have special option for the font-size and global h4 font-size does not overwrite styles of the product title. So, use the custom CSS to change it.

    Regards

    Avatar: Ann Sanicola
    Ann Sanicola
    Participant
    May 5, 2020 at 21:35

    Would I do better to change to xstore theme than just keep doing custome css? It appears more modern and flexible

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 6, 2020 at 17:58

    Hello,

    Yes, no problem. Buy the XStore theme and then submit refund request for the Legenda theme https://themeforest.net/refund_requests/new

    Regards

    Avatar: Ann Sanicola
    Ann Sanicola
    Participant
    May 6, 2020 at 18:18

    Thanks, but I would never do that. I’ve been using Legenda for YEARS. I was just wondering how difficult the switch would be.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 6, 2020 at 18:23

    Hello,

    XStore also uses the WPBakery page builder to create page content, so migration won’t be very difficult I think. But you will need some time to migrate of course.
    You may try migration at the staging site first to check the results, to test everything. And them move it to production.

    Regards

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

You must be logged in to reply to this topic.Log in/Sign up

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