-
AuthorPosts
-
July 17, 2019 at 5:52 pm #1119629
Hello,
on a small website with Enfold (newest version) we have problems with the Font Manager Google / Fonts.
We know how to import and load Google Fonts locally in Enfold, we did it several times.
We want to use Merriweather and Open Sans locally, but import and selection messes up the fonts (paragraph texts falsely italic, for example).
There is no custom CSS styling.
You can try loading a single font only (for example Open Sans) and select it for headlines and paragraph texts, doesn’t work properly, too.
Best regards
pp, DavidJuly 18, 2019 at 1:05 pm #1119905Hey ansatz,
Thank you for using Enfold.
We are able to reproduce the issue on our end. We got it fixed by setting the font-display property from “auto” to “swap”.
add_filter('avf_font_display', function($swap) { return 'swap'; }, 10, 1);
Unfortunately, this filter does NOT work in your installation. We’ll forward this to the dev team.
Best regards,
IsmaelAugust 27, 2019 at 5:13 pm #1131384Hi Ismael,
did you receive a reply from the dev team?
Best regards
DavidAugust 27, 2019 at 6:42 pm #1131422Hi Ismael,
here the same problem, filter don’t work. Is there an workaround?
Best Regards
MikeAugust 29, 2019 at 9:48 am #1131830Hi,
Did you try to save the theme options (also try to disable css merging – save – enable again ) and clear server and browser cache several times ?
Best regards,
GünterAugust 29, 2019 at 10:24 am #1131839Hi Günter,
sure, I do. I installed an font.zip local from an other older Enfold Website and this work – no italic!
For me it seams that Google have change some things at the last three month and this
don*t work really with Enfold. One thing more: After installed the font Open Sans local wit Enfold
and use this font with Enfold styleoptions the name of the font in css is wrong: open-sans instead open sans.
Maybe this is an hint?Best regards
MikeAugust 30, 2019 at 5:06 pm #1132378Hello Support,
“We’ll forward this to the dev team.”
1,5 months ago?
Best regards
DavidSeptember 2, 2019 at 3:27 am #1132768Hi,
Thank you for the update.
The filter is now available on version 4.6. Make sure that you have that version. If it’s still not working, post the login details in the private field so that we can check the issue.
Best regards,
IsmaelSeptember 27, 2019 at 10:20 am #1142640This reply has been marked as private.September 30, 2019 at 4:31 am #1143207Hi,
Thank you for the update.
We are referring to the “avf_font_display” filter as you can see in the example above. It’s now included in the theme, so you can use that to change the font-display property — default value is “auto”.
// https://css-tricks.com/almanac/properties/f/font-display/
We don’t see any italic fonts when we checked the site. The font is set to Roboto. Is it working properly now?
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.