Use Google Font as the product title in shop page

This topic has 4 replies, 2 voices, and was last updated 6 years ago ago by Rose Tyler

  • Avatar: kdb
    kdb
    Participant
    November 13, 2018 at 22:41

    Hello,

    I am trying to use a Google Font in the H1 of a shop page but it is not coming through. Is there any way you can help me with this?

    Here is my custom css

    @import url('https://fonts.googleapis.com/css?family=Ledger|Oswald|Playfair+Display');
    
    /* Adding Oswald font to product title */
    product_title entry-title h1 {
        font-family: 'Oswald', sans-serif;
    }
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 14, 2018 at 10:36

    Hello,

    .product-information .product_title {
        font-family: 'Oswald', sans-serif;
    }

    Regards

    Avatar: kdb
    kdb
    Participant
    November 14, 2018 at 22:14

    Perfect. Thanks for your help with this. Here is my next question: https://www.8theme.com/topic/font-color-for-filter-product-by-attribute-dropdown-widget/

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    November 15, 2018 at 09:43

    You’re 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.