Font weight not changing - by Paloma - on WordPress WooCommerce support

This topic has 6 replies, 3 voices, and was last updated 5 years, 8 months ago ago by Olga Barlow

  • Avatar: Paloma
    Paloma
    Participant
    April 2, 2019 at 14:58

    I am trying to change the font weight on my website for the prices but it is not changing. I tried customizing and through theme options, but it still didnt change. Please check: https://modatudo.com/

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    April 2, 2019 at 15:09

    Hello,

    Please change this code http://prntscr.com/n6fs9b according to your needs, for example

    .price ins .amount {
        font-weight: 600;
    }
    .price del span {
        text-decoration: line-through;
    }

    Regards

    Avatar: Paloma
    Paloma
    Participant
    April 2, 2019 at 16:54

    I did that and it still did not change.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 2, 2019 at 17:38

    Hello,

    You need to make sure that you load the font with the existing font-weight. For example, your price uses Roboto font http://prntscr.com/n6i6lg . Roboto has the following weight variations: http://prntscr.com/n6i5mv https://fonts.google.com/specimen/Roboto?selection.family=Roboto
    At this moment if I inspect your page source I see just Roboto 300,400 and 500 and you don’t load Roboto bold http://prntscr.com/n6i1xd (700 for the Roboto font in your case, not 600, we provided that code just like example, not like the copy/paste rule).

    So, load the Roboto weight that you need and then change the CSS styles of the weight to correct value depending on weight that you want to use (light(300), bold(700), extra-bold(900)).

    Regards

    Avatar: Paloma
    Paloma
    Participant
    April 3, 2019 at 15:58

    I see the prices how you see it is in tiffany blue and the size is how i want it. I cleared the cookies and it still shows thin, look https://snag.gy/wmlex0.jpg
    I dont know now how my website looks.

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    April 3, 2019 at 16:07

    Hello,

    Install clear cache extension if you use Chrome, clear cache and check again https://chrome.google.com/webstore/detail/clear-cache/cppjkneekbjaeellbfkmgnhonkkjfpdn?hl=en

    Regards

  • Viewing 6 results - 1 through 6 (of 6 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.