This topic has 6 replies, 3 voices, and was last updated 5 years, 8 months ago ago by Olga Barlow
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/
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
I did that and it still did not change.
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
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.
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
You must be logged in to reply to this topic.Log in/Sign up