Tagged: font, roboto, Roboto Thin
Hey Enfold support,
I’ve chosen Roboto light in my advanced styling section for some of the headers. However, it’s still bolder than I’d like it to be. How can I set some header styles to use Roboto thin?
Thanks.
Hey gerardbao,
I think you will need to import any extra font you would like to use, please refer to this: http://kriesi.at/documentation/enfold/register-additional-google-fonts-for-theme-options/
Regards,
Rikard
That helped. However the thin/light font only displays properly when I change the font size on the element.
If I don’t change it, it defaults back to normal thickness. Even though the thickness for the font is set to thin in the advanced font options.
Is there a way to get it to work without having to update the font size each and every time?
Hi!
You can turn on custom CSS code for ALB elements – http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and give your elements where you have your heading elements that you wish to use light font weight a custom class “your-custom-class” and then add following code to Quick CSS in Enfold theme options under General Styling tab
.your-custom-class h1,.your-custom-class h2,.your-custom-class h3,.your-custom-class h4,.your-custom-class h5,.your-custom-class h6 { font-weight: lighter !important; }
Regards,
Yigit