
-
AuthorPosts
-
March 15, 2018 at 12:09 pm #927231
Hello,
we use Open Sans on our site and it looks nice except for the text parts that is suposed to be italic. As it is now the ”italic” texts isn’t italic, they are oblique.
Could you help me to make it ”typographical right”? (The oblique version of a font that have a true italic, realy hurts the eyes of an old typographer like me;-)All the best,
/PerMarch 15, 2018 at 12:40 pm #927250on register-backend-google-fonts there is the info which fonts are loaded
on open sans there is:'Open Sans'=>'Open Sans:400,600',
so i guess that the real italic isn’t loaded if you choose on Enfold Options Dialog the Open-Sans Font.
i think for you it might be the best to load a new set – and i called it now : Open Sans Plus Italic
this to your functions.php of your child-theme:
add_filter( 'avf_google_heading_font', 'avia_add_heading_font'); function avia_add_heading_font($fonts) { $fonts['Open Sans Plus Italic'] = 'Open Sans:300,300i,400,400i,600,600i,700,700i'; return $fonts; } add_filter( 'avf_google_content_font', 'avia_add_content_font'); function avia_add_content_font($fonts) { $fonts['Open Sans Plus Italic'] = 'Open Sans:300,300i,400,400i,600,600i,700,700i'; return $fonts; }
you will than have at the end of the enfold font list – last entry : Open Sans Plus Italic
i hope – if you choose the italic option it will take the correct font-style-
This reply was modified 6 years, 11 months ago by
Guenni007.
March 16, 2018 at 3:47 am #927858Hi,
Thanks for sharing and helping out @guenni007 :-)
Did you try out the suggestion above and did you have any luck with it @navipro_beha?
Best regards,
RikardMarch 19, 2018 at 2:48 pm #929079Hi,
I’m not so good at these things so I havn’t tried yet. I don’t know how to load a new set, and I don’t have a child theme (do I have to?).
I hoped the italic version was included in the Enfold theme (I realy think that every font that is posible to chose, and have a tru italic, should be used by default.) and that it was easy to activate.
All the best,
/PerMarch 20, 2018 at 2:05 pm #929847Hi,
Adding a child theme is quite simple, and it will protect your customizations for the future. Read about using a Child ThemeBest regards,
Mike -
This reply was modified 6 years, 11 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.