How to edit the font on the single product page

8 replies3 participantsUpdated by Olga Barlow

  • Avatar: Ann Sanicola
    Ann Sanicola
    Participant

    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

    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

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

    Avatar: Ann Sanicola
    Ann Sanicola
    Participant

    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
    Participant

    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

    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
    Participant

    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

    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
    Participant

    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

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register