Tagged: x
-
AuthorPosts
-
January 18, 2017 at 9:28 am #1335154
heineParticipantHello,
I added the Shadows Into Light google font (because I needed it on one page) using a guide I found on this forum somewhere, but now I cannot find out how to remove it again (I only want it to load on one page).
I find this in the source code for my page.
<link rel='stylesheet' id='x-font-custom-css' href='http://fonts.googleapis.com/css?family=Shadows+Into+Light' type='text/css' media='all' />Any idea about where it has been added?
January 18, 2017 at 9:41 am #1335179
heineParticipantAlso, a related question: I can see the google font Lato being loaded – I assumes this is via Customizer -> Typography. Is there any way to have this be a non-blocking css call? Or is that not recommended?
January 18, 2017 at 9:52 am #1335191
RupokMemberHi there,
Thanks for writing in! I assume you have added the font within Customizer CSS. If you need this for a single page then you can try adding within page level CSS under Cornerstone Settings tab. And you should at least set one font for body and one for headings from the Customize > Typography as you are using a premium theme; it won’t look good with system fonts you know.
Cheers!
January 19, 2017 at 6:11 am #1336527
heineParticipantThanks for you reply.
I cannot find the font under Customize -> Custom -> Edit Global CSS so I’m still at loss for how to remove that font. I’ve tried
grepfor it on my server files, but nothing shows up.Yes, I’m using Lato as body and headings font. Question number 2 is if there is any way to have the included google font be a non-blocking call?
January 19, 2017 at 10:14 am #1336797
LelyModeratorHello There,
It is a settings in Customizer. Appearance > Customize > Typography: Body Font and Headings Font. Depending on what you you have chosen, that specific font will be called. Regarding question #2, please clarify a bit so we can help you better.
January 20, 2017 at 10:41 am #1338533
heineParticipant1st question: I have chosen Lato as body and heading font. “Shadows Into Light” is not chosen on either font. Still I can see it being loaded from somewhere in my view source. (See attached image ending in 49).
2nd question: Using google pagespeed (https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fheinekolltveit.com%2F) it complains about the CSS calls for the fonts and calls them blocking. Is there any way to have the included fonts be non-blocking calls? (More about non-blocking if you click the link above.
January 20, 2017 at 10:44 am #1338543
heineParticipantScreenshot 49 was too big. Here it is compressed:
January 20, 2017 at 1:18 pm #1338743
JadeModeratorHI there,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
January 23, 2017 at 9:05 am #1341571
heineParticipantThis reply has been marked as private.January 23, 2017 at 4:05 pm #1342174
FriechModeratorHi There,
Thanks for the credentials, but I can’t access the appearance > editor from the dashboard.
Please login to your server via FTP and look at this files on your child theme and see if you can find the request for “Shadows Into Light” google font.
style.css functions.php _meta.php (x-child/framework/views/global/)Regarding the second issue, try to clear and/or deactivate the Autoptimize and W3 Total Cache plugins.
Hope it helps, Cheers!
January 24, 2017 at 8:58 am #1343198
heineParticipantAwesome, I found it in functions.php and removed it successfully.
I’v cleared and tried deactivating both Autoptimize and W3 Total Cache plugin. No luck.
January 24, 2017 at 10:39 am #1343352
JadeModeratorHi there,
Please follow the suggestion on this link: https://www.lockedowndesign.com/load-google-fonts-asynchronously-for-page-speed/
Hope this helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1335154 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
