-
AuthorPosts
-
May 30, 2018 at 9:02 pm #964498
Hi,
even though I uploaded my own fonts zip files in the custom font manager of the Enfold theme options, I can see via Firefox network analysis that the fonts still seem to load from Google. I just can’t explain why this is happening :o( .
Can you help and tell how to solve this urgent issue? Really do hope you can help, feel kind of helpless.
I send you my login details in private content box, in case you should need them.
Kind regards,
SophieJune 2, 2018 at 12:58 am #965626Hey Sophie,
Are you using any plugin related to gstatic? It’s loading the external fonts.
Please try to disable active plugins and check if this helps.
Best regards,
VinayJune 3, 2018 at 8:44 pm #966239Hi,
I just found out that in advanced settings of Theme settings I have not changed the body font to my local font, so it’s working now. But I just saw that the font Lato regular and lighter are displaying same way, even though I imported them via custom font manager. But I need to have the lighter one. Can you help?
Also, how can I make the p style <p style=”font-size: 26px; font-family: ‘Chelsea Market’;”>example text</p> and my blockquote styling CSS blockquote { font-family: Chelsea Market;} load my local font? Currently it is still loading from Google server https://fonts.gstatic.com.
Furthermore I am using the following code for enabling the header scroll effect on mobile devices that I got from your support forum and for loading font awesome for my recipes. This is loading 2 icons (print and check mark) from maxcdn.bootstrapd. Can you help and tell how to load these both icons from Enfold or rather from my local server to reach GDPR compliance:
function enfold_child_custom_script() { wp_enqueue_style( 'font-awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', array(), 1.0); wp_enqueue_script( 'avia-main-child', get_stylesheet_directory_uri().'/js/main.js', array('jquery', 'avia-default'), 2, true ); } add_action( 'wp_enqueue_scripts', 'enfold_child_custom_script', 100 );
Really hope you can help. Thank you so much for your kind efforts in advance.
Best regards,
SophieJune 6, 2018 at 11:29 pm #968117Hi,
1. To upload a lighter version of lato please use the same method to upload from Enfold > Import/Export > Custom font manager
2. Please upload custom font ” Chelsea ” and assgn it to p and blockquote from Enfold > Advanced Styling
3. Disable the “font-awesome” script by removing the first line inside the brackets and upload similar icons from http://fontello.com/ to Enfold > Import/ Export > Iconfont Manager
for more info please check
https://kriesi.at/documentation/enfold/typography/#how-to-upload-custom-fonts andBest regards,
VinayJune 8, 2018 at 8:34 am #970002Hi Vinay,
thank you so much for your detailed information.
1. Okay, I loaded each font weight of my requested font Lato separately, even though I loaded a zip file with all font weights in one zip file before. It seems to work, but I wonder why the local fonts do look different than Google fonts. For example, bold is not bold (it’s kind of “light bold”), even though I loaded Lato 700. Do you have any idea what is happening here?
2. That’s what I tried, but in blockquote in Enfold > Advanced Styling it is only possible to change font color, border color, font size and line space. No font family can be added. Same with p style.
3. The icons I need for my recipes are „check“ for marking the ingredients and recipe steps and “print” for printing the recipe (please find in private content box a link to my website where you can see print button and check marks) and these icons are already included in Enfold theme. So, do you mean by “Disable the “font-awesome” script by removing the first line inside the brackets” to disable like as follows? I am not quite sure how to do :o( :
function enfold_child_custom_script() { wp_enqueue_style( 'font-awesome', array(), 1.0); wp_enqueue_script( 'avia-main-child', get_stylesheet_directory_uri().'/js/main.js', array('jquery', 'avia-default'), 2, true ); } add_action( 'wp_enqueue_scripts', 'enfold_child_custom_script', 100 );
Thank you so much for your kind help in advance.
Wish for you a good day!
Best regards,
SophieJune 13, 2018 at 5:44 pm #972405Hi Sophie,
We apologize for the late response.
1. Instead of using font-weight of 700, you can use 400 instead and just change font-family instead, using this code:font-family: 'lato-v14-latin-bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
or
font-family: 'lato-v14-latin-bold', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
2. Enfold > Advanced Styling is limited in options atm though there are plans to improve it in the future releases, for now I would suggest using Quick CSS in Enfold > General Styling, if you are having difficulty with the selector to use, you can always ask us :)
3. As for loading font awesome, try to replace your code with:
function enfold_child_custom_script() { wp_enqueue_style( 'font-awesome', get_template_directory_uri().'/config-layerslider/LayerSlider/static/font-awesome/css/font-awesome.min.css', false, 1.1); wp_enqueue_script( 'avia-main-child', get_stylesheet_directory_uri().'/js/main.js', array('jquery', 'avia-default'), 2, true ); } add_action( 'wp_enqueue_scripts', 'enfold_child_custom_script', 100 );
Hope it helps :)
Best regards,
NikkoJune 16, 2018 at 1:49 pm #973591Hi Nikko,
thank you so much for your kind help.
1. I am a little confused about that. Not sure where to put your a/m code? Can you help and tell?
font-family: 'lato-v14-latin-bold', 'Helvetica Neue', Helvetica, Arial, sans-serif;
or
font-family: 'lato-v14-latin-bold', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
2. For blockquote styling I already used custom CSS as follows, but then the font will be loaded from Google server again. Can you help and tell how to load my local font that I already imported to Theme settings > Import/Export?
blockquote { font-family: Chelsea Market; }
3. Awesome! Your code helped me to prevent loading font awesome from bootstrapcdn. Thank you so much, really do appreciate all your help!
Again, I thank you so much for all your efforts that you put in my issues. I am so happy! Thank you!
Best regards,
SophieJune 17, 2018 at 7:16 pm #974002Hi Sophie,
You’re welcome and glad we could help :)
1.) You can apply this in Enfold > General Styling > Quick CSS, can you tell us where you want it applied? we’ll try to give you css codes that should help.
2.) Try using:
blockquote { font-family: 'chelsea-market-v5-latin-1'; }
In Enfold > Import/Export you should see how font family’s are declared.
Hope this helps.Best regards,
NikkoJune 18, 2018 at 8:24 pm #974459Hi Nikko,
thank you for your kind help.
1. I think I got it. First, I had to change all the fonts for example for H1, H2, menu links etc. in Theme Options > Advanced Settings, because these fonts have of course not changed automatically and loaded locally. Second, I had to add your a/m code to my recipes Custom CSS as well, now it works perfecty :-) . But, still the local fonts do not look the same as they did when they were loaded via the Google server (as comparison I use your Church demo). Cannot figure out. Do you have any idea?
2. Oops! I should have known, right ;-) ? Now that I have the code it’s clear to me. And yes, it is working :-) . Your a/m code for my blockquote font makes it loading from my local server instead of Google server :-) ! Thank you so much!!!!!!
As always, thank you so much for all your help in solving my issues :-) !
Wish for you a great day!
Kind regards,
SophieJune 19, 2018 at 9:12 pm #974960Hi,
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,
BasilisJune 20, 2018 at 1:37 pm #975289Hi there,
number 1 still not solved ;-) .
Regarding local fonts they still do not look the same as they did when they were loaded via the Google server. As comparison: I use your Church demo. Your Church demo with Google Font Lato looks different then mine with local Google font Lato. Cannot figure out. Do you have any idea?
Can you help?
Best regards,
SophieJune 21, 2018 at 7:25 am #975674Hi Sophie,
Glad that almost everything is all good :)
As for our Church demo, it uses Droid Serif and Open Sans.
Also I forgot to mention to addfont-weight: 400;
after the font-family codes that uses custom code, since it does make it look a bit different since it uses a different thickness.
Best regards,
NikkoJuly 3, 2018 at 11:00 am #980488This reply has been marked as private.July 4, 2018 at 11:24 am #981094Hi swotes,
You may need to use a caching plugin for it so it loads the fonts faster, since it uses alternative fonts first when the primary font you want to use is still not loaded.
Another option I would suggest is to use Page Preloading in Enfold > Theme Options, so it shows a preloader first and once the site is properly loaded the page is revealed.
Hope this helps.Best regards,
NikkoJuly 4, 2018 at 11:54 am #981112This reply has been marked as private.July 4, 2018 at 1:30 pm #981168Hi Nikko,
I hope the above private message of participant “swotes” does not mess up my thread. Can you please tell where to put the code
font-weight: 400;
Would be great! Thanks a lot in advance.
Best regards,
SophieJuly 4, 2018 at 2:40 pm #981228Hi Sophie,
Thanks for the reminder, you can add it on all selectors you used a custom font, for example the code I gave:
blockquote { font-family: 'chelsea-market-v5-latin-1'; }
should be changed to:
blockquote { font-family: 'chelsea-market-v5-latin-1'; font-weight: 400; }
Best regards,
NikkoJuly 4, 2018 at 2:55 pm #981238Hi swotes,
Just to make this thread not confusing, please try to create a new thread and please put the link to this thread.
Also Please post us your login credentials (in the “private data” field), so we can take a look at your backend (in the other thread).- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.Best regards,
NikkoJuly 5, 2018 at 9:45 am #981474This reply has been marked as private.July 9, 2018 at 10:03 am #982981This reply has been marked as private.July 9, 2018 at 11:20 am #983010Hi Swotes,
You have “Load google fonts in footer” checked in Enfold theme options > Performance tab. As mentioned in description “Loading the fonts in your footer will speed up the site rendering, but also cause a small flicker of text on page load”. Please uncheck the option to solve flickering issue.
If you have any other questions or issues, please start a new thread under Enfold sub forum and we will gladly try to help :)
Best regards,
YigitJuly 9, 2018 at 11:55 am #983034This reply has been marked as private.July 9, 2018 at 6:02 pm #983287Hi Bernd,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
VictoriaJuly 13, 2018 at 8:24 am #985021Thank you for your info regarding font-weight: 400, Nikko. I think I got it now :-) . You can close this thread now.
Thanks again for all your help! Wish for you a great weekend!
Kind regards,
SophieJuly 13, 2018 at 8:26 am #985024This reply has been marked as private.July 14, 2018 at 6:08 am #985396Hi Sophie,
Thanks for the feedback. So everything is ok? Should we close the thread for now?
Best regards,
RikardJuly 14, 2018 at 8:48 pm #985500Yes, everything is okay. Please close this thread :-) . Thank you!
Kind regards,
SophieJuly 15, 2018 at 7:19 am #985592 -
AuthorPosts
- The topic ‘Google web fonts still loading despite Custom Font Manager’ is closed to new replies.