
-
AuthorPosts
-
October 28, 2022 at 2:48 pm #1370568
It looks like the Slider Widget is putting a Google Fonts Link Tag in the website code, although we have uploaded and configured local fonts everywhere in Enfold. Inserted tag looks like this:
<div id='layer_slider_1' class='avia-layerslider main_color avia-shadow avia-builder-el-0 el_before_av_two_third avia-builder-el-first container_wrap fullsize' style='height: 961px;' > <link href="https://fonts.googleapis.com/css?family=Open+Sans:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet"> <div id="layerslider_2_lhtuev5yc8r3" class="ls-wp-container fitvidsignore" style="width:1920px;height:960px;margin:0 auto;margin-bottom: 0px;">....
We have double checked all options inside Enfold and could not find any reference to online fonts, we are using just our locally uploaded fonts.
This creates a significant issue with GDPR compliance here in Germany and is starting to get sued by laywers. We already received a dissuasion and a claim for one of our websites with Enfold.We already tried this solution:
add_filter( 'avf_output_google_webfonts_script', 'avf_output_google_webfonts_script', 10, 1 ); function avf_output_google_webfonts_script( $activate ) { return false; }
Unfortunately, this is not working, the link tag mentioned above is still inserted into the website.
Please advice on how to get rid of Google fonts link tags inside Enfold. Thanks a lot! :)
October 29, 2022 at 9:02 pm #1370668Hey MaxityDE,
Thanks for the link to your site, I believe that your layerslider has the font picked inside the slider because our demo layerslider slide doesn’t call for a font like yours, please check your slider options for the font.
If you can’t find it please export your slider and post a link to it so we can download and check.Best regards,
MikeNovember 2, 2022 at 3:40 pm #1371075Hi Mike,
thanks for your reply. You were right: there was a custom font defined inside the slider by one of our web designers. After replacing it with a standard font everything works fine and the Google Fonts online tag is gone.
Thanks for your help!Kind regards,
RomanNovember 2, 2022 at 7:12 pm #1371127Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘Google Fonts are loaded online despite using local fonts’ is closed to new replies.