-
AuthorPosts
-
August 22, 2018 at 6:26 pm #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!
August 22, 2018 at 6:40 pm #1000465well 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.
August 22, 2018 at 6:58 pm #1000475Thanks 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
August 22, 2018 at 8:01 pm #1000501Hi,
To add the CSS to paragraph text please use the p tag.
#top p { font-variant-ligatures: none !important; }
Best regards,
VinayAugust 22, 2018 at 8:34 pm #1000511Perfection! You rock gents, thank you.
Best,
JesseAugust 23, 2018 at 9:51 am #1000634Hi 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,
RikardAugust 23, 2018 at 1:53 pm #1000728Hi Rikard,
This thread is definitely okay to close, thank you again :)
Best, J
August 23, 2018 at 9:14 pm #1000969Hi,
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 -
AuthorPosts
- The topic ‘Turning-off "ligatures" in Roboto font.’ is closed to new replies.