Hi guys,
I’ve got a really simple problem and didn’t found the solution yet.
I just want to create a special header and use for it Open Sans Light style.
So I create a .title style and put this code in Quick CSS :
.title {
font-family: "Open Sans";
font-size: 30px;
font-weight: 300 !important;
}
Size and font are OK but it’s impossible to make the font weight lighter.
Any solution please ?
Cheers,
Théau
Hey Demaup,
Can you post a link to your site showing the title (the one in your css)? so we can try to check.
Best regards,
Nikko
Hey Nikko,
Thanks for your answer.
Here is the page where you can find the try I made: https://theau.net/particuliers-entreprises/produits/
I also tried to do the same thing (on the same page) with “Special Header” by adding this to Quick CSS:
body .av-special-heading .av-special-heading-tag {
color: #5D5048;
font-family: "Open Sans";
font-weight: 300 !important;
}
But it doesn’t work.
Cheers,
Demaup
Hi,
Try replacing your code with this:
.title {font-family: 'Open Sans'!important;
font-weight: lighter!important; }
For your test Special Header try:
h1.av-special-heading-tag {font-family: 'Open Sans'!important;
font-weight: lighter!important; }
Best regards,
Mike
Hi Mike,
It seems to work (according to Fontface Ninja). Is there a way to make it “ultra light”? Or is this the most thin possible for Open Sans with Enfold?
Cheers,
Demaup
Hi,
This was the lightest I could find in Enfold which uses the “lighter” rule.
To test you could try installing a plugin such as Use Any Font and see if it pulls in a different version of the font.
Best regards,
Mike
Thanks Mike!
I’ll try it out.
It works perfectly!
Sorry for the so late response ;)