Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1000460

    Hi,

    New user, love the theme and the support resources have been amazing thank you staff!

    Had a quick question:

    Is there a quick CSS I can apply to turn-off the ligature option that is automatically applied when I type ‘f’ +’i’.

    Maybe some thing like: font-ligatures: {none!important;}

    Note: I only need to turn ligatures “off” for special headings, but if you could include CSS for turning off ligatures in all text settings as well as for special heading that would be most appreciated.

    Thank you so much!

    #1000465

    well the css for that is :
    PS i did not know either – but google and css font ligatures will bring sometimes the solution.

    h1,h2,h3 {
        font-variant-ligatures: none !important;
    }

    there are alot of settings – you had to test it
    nearly all modern browsers know that : https://caniuse.com/#search=font-variant-ligatures
    but the font itself has to have that variant in it ! If not your have to use a different font.

    Edit: i tested it on Google font page – it works with Roboto

    if you only want to have it on headings element of Enfold:

    .av-special-heading-tag {
        font-variant-ligatures: none !important;
    }
    • This reply was modified 6 years, 4 months ago by Guenni007.
    #1000475

    Thanks Guenni007!

    I made a slight edit and it works just fine for Headers:

    h1.av-special-heading-tag , h2.av-special-heading-tag , h3.av-special-heading-tag {
    font-variant-ligatures: none !important;
    }

    Any suggestion on what I can add to this to have it apply the paragraph text as well?

    Really appreciate the help!

    Best, J

    #1000501

    Hi,

    To add the CSS to paragraph text please use the p tag.

    #top p {
    font-variant-ligatures: none !important;
    }

    Best regards,
    Vinay

    #1000511

    Perfection! You rock gents, thank you.

    Best,
    Jesse

    #1000634

    Hi Jesse,

    Great, glad we could help. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1000728

    Hi Rikard,

    This thread is definitely okay to close, thank you again :)

    Best, J

    #1000969

    Hi,

    Glad we could help!

    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    Don’t forget to bookmark Enfold Documentation for future reference.

    Thank you for using Enfold :)

    Best regards,
    Basilis

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Turning-off "ligatures" in Roboto font.’ is closed to new replies.