Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #851053

    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

    #851194

    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

    #852864

    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

    #852904

    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

    #853084

    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

    #853093

    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

    #853094

    Thanks Mike!

    I’ll try it out.

    #853097

    Hi,
    Good, Let us know what you find.

    Best regards,
    Mike

    #871289

    It works perfectly!

    Sorry for the so late response ;)

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Set the Open Sans font lighter’ is closed to new replies.