Product Title Font Size? - by Olexi - on WordPress WooCommerce support

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

  • Avatar: Olexi
    Olexi
    Participant
    December 19, 2016 at 08:35

    Hi everybody,

    i tried to increase the font size for the product title on the shop page and product page but i can’t get it working.

    This is the CSS i added:

    .product-title {
    font-size: 1.5rem; !important;
    }

    But it has no effect .. when i inspect the element it shows me the CSS but it’s crossed out?

    How to set the CSS to get it done?

    Many thanks.

    3 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 19, 2016 at 17:40

    Hello,

    To change the product title size for the shop page add the following code

    .content-product .product-title {font-size: 1.5rem;}

    For the single product page

    .product-information .title, .product-info-wrapper .title, .product-summary-center .title, .product-information .product_title, .product-info-wrapper .product_title, .product-summary-center .product_title {font-size: 1.5rem;}

    Regards

    Avatar: Olexi
    Olexi
    Participant
    December 19, 2016 at 18:04

    Perfect, many thanks 🙂

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    December 19, 2016 at 18:06

    You are welcome!

    Regards

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

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

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.