- This topic has 41 replies, 3 voices, and was last updated 3 years, 5 months ago by
David.
-
AuthorPosts
-
May 7, 2022 at 1:18 pm #2212803
Christopher
Sure, will do! Thanks
May 7, 2022 at 1:23 pm #2212806Ying
StaffCustomer SupportNo problem 🙂
May 7, 2022 at 1:40 pm #2212817Christopher
I still have the message popping up though, I think I went through all the containers now :/ I will have another look
Also, the GTmetrix site is weird. When I test it twice in a row, it switches from 100% to 84% or so. I would understand it if its switched around and images are cached, but even in Incognito it provides different results every time I check it 😮
May 7, 2022 at 1:53 pm #2212828Christopher
I found a few more actually inside the actual texts. Then noticed that by removing the Google font toggle, it also changed the font from my paragraph texts, the footer text and the navigation item text.
I made sure the font is selected every and then it selects Google fonts automatically whenever I select the “Source Sans Pro” font – despite the fact that I have locally uploaded to my server, it still seems to grab it from the web instead. How can I ensure it uses the local version?
May 7, 2022 at 2:39 pm #2212846Ying
StaffCustomer SupportThen noticed that by removing the Google font toggle, it also changed the font from my paragraph texts, the footer text and the navigation item text.
I made sure the font is selected every and then it selects Google fonts automatically whenever I select the “Source Sans Pro” font – despite the fact that I have locally uploaded to my server, it still seems to grab it from the web instead
That’s normal behavior as it doesn’t have the ability to check if you have this font locally uploaded on your site. So you if you choose a google font, make sure you untoggled the google font option.
May 7, 2022 at 2:45 pm #2212847Ying
StaffCustomer SupportAnd I ran a test for your site,
Manjari
font is being requested by the countdown:
https://www.screencast.com/t/ZByogw0EdFLMay 7, 2022 at 2:50 pm #2212851Christopher
The problem is that the font is not used. See the video. I select the font I want (and that I uploaded locally so it wont has to load from Google) and as soon as I uncheck the Google font toggle, it removes the font again.
May 7, 2022 at 2:52 pm #2212855Ying
StaffCustomer SupportI know it’s not you, it’s the plugin or the function that provide the countdown.
May 7, 2022 at 2:52 pm #2212857Christopher
Thanks! Ill look for a non Google font to replace it with.
May 7, 2022 at 2:54 pm #2212858Christopher
Hm meaning that I either dont use the font I wanted to use, or live with the fact that Google fonts will slow the site down despite having the font uploaded on my webserver?
May 7, 2022 at 2:57 pm #2212861Ying
StaffCustomer SupportThe problem is that the font is not used.
It was used for the countdown numbers.
It seems you removed the font from the plugin:
The 2 screenshots shows the font change:
usingManjari
: https://www.screencast.com/t/ZByogw0EdFL
Not usingManjari
: https://www.screencast.com/t/YR7RFH4UVWuDo one more test, there should not be google fonts request anymore.
May 7, 2022 at 3:01 pm #2212862Ying
StaffCustomer SupportHm meaning that I either dont use the font I wanted to use, or live with the fact that Google fonts will slow the site down despite having the font uploaded on my webserver?
I have to say hosting fonts locally or requesting them from google won’t make real differences for users, as anyway users will have to download the fonts from your site or from google font’s site.
It just makes the test result look better.
May 7, 2022 at 3:01 pm #2212863Christopher
Yes I changed the countdown font and yes the google font requests are gone.
The big problem is that the font that I wanted to use does not work unless the Google fonts toggle is active. And the site looks very ugly with the standard font it uses instead. I tried to showcase that in the video in the other post 🙂
So if I cant use the font that I downloaded and uploaded on my server then I guess I have to go back and use it with the Google font toggle, unless you see a way to fix it? It really looks very bad now in the font.
Thanks,
ChrisMay 7, 2022 at 3:04 pm #2212864Ying
StaffCustomer SupportSo if I cant use the font that I downloaded and uploaded on my server then I guess I have to go back and use it with the Google font toggle, unless you see a way to fix it? It really looks very bad now in the font.
Did you follow the guide here to host your fonts locally?
https://docs.generatepress.com/article/adding-local-fonts/Does every font has its
@font-face
CSS?May 7, 2022 at 3:25 pm #2212871Christopher
Yes followed all the steps and updated the CSS for the two google fonts Id like to use:
/* source-sans-pro-300 - latin */ @font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 300; src: url('https://montenegrotower.com/wp-content/uploads/2022/05/source-sans-pro-v21-latin-300.eot'); /* IE9 Compat Modes */ src: local(''), url('https://montenegrotower.com/wp-content/uploads/2022/05/source-sans-pro-v21-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('https://montenegrotower.com/wp-content/uploads/2022/05/source-sans-pro-v21-latin-300.woff2') format('woff2'), /* Super Modern Browsers */ url('https://montenegrotower.com/wp-content/uploads/2022/05/source-sans-pro-v21-latin-300.woff') format('woff'), /* Modern Browsers */ url('https://montenegrotower.com/wp-content/uploads/2022/05/source-sans-pro-v21-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */ url('https://montenegrotower.com/wp-content/uploads/2022/05/source-sans-pro-v21-latin-300.svg#SourceSansPro') format('svg'); /* Legacy iOS */ } /* source-sans-pro-regular - latin */ @font-face { font-family: 'Source Sans Pro'; font-style: normal; font-weight: 400; src: url('https://montenegrotower.com/wp-content/uploads/2022/05/source-sans-pro-v21-latin-regular.eot'); /* IE9 Compat Modes */ src: local(''), url('https://montenegrotower.com/wp-content/uploads/2022/05/source-sans-pro-v21-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('https://montenegrotower.com/wp-content/uploads/2022/05/source-sans-pro-v21-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('https://montenegrotower.com/wp-content/uploads/2022/05/source-sans-pro-v21-latin-regular.woff') format('woff'), /* Modern Browsers */ url('https://montenegrotower.com/wp-content/uploads/2022/05/source-sans-pro-v21-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('https://montenegrotower.com/wp-content/uploads/2022/05/source-sans-pro-v21-latin-regular.svg#SourceSansPro') format('svg'); /* Legacy iOS */ } /* oswald-200 - latin */ @font-face { font-family: 'Oswald'; font-style: normal; font-weight: 200; src: url('https://montenegrotower.com/wp-content/uploads/2022/05/oswald-v47-latin-200.eot'); /* IE9 Compat Modes */ src: local(''), url('https://montenegrotower.com/wp-content/uploads/2022/05/oswald-v47-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('https://montenegrotower.com/wp-content/uploads/2022/05/oswald-v47-latin-200.woff2') format('woff2'), /* Super Modern Browsers */ url('https://montenegrotower.com/wp-content/uploads/2022/05/oswald-v47-latin-200.woff') format('woff'), /* Modern Browsers */ url('https://montenegrotower.com/wp-content/uploads/2022/05/oswald-v47-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */ url('https://montenegrotower.com/wp-content/uploads/2022/05/oswald-v47-latin-200.svg#Oswald') format('svg'); /* Legacy iOS */ } /* oswald-regular - latin */ @font-face { font-family: 'Oswald'; font-style: normal; font-weight: 400; src: url('https://montenegrotower.com/wp-content/uploads/2022/05/oswald-v47-latin-regular.eot'); /* IE9 Compat Modes */ src: local(''), url('https://montenegrotower.com/wp-content/uploads/2022/05/oswald-v47-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('https://montenegrotower.com/wp-content/uploads/2022/05/oswald-v47-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('https://montenegrotower.com/wp-content/uploads/2022/05/oswald-v47-latin-regular.woff') format('woff'), /* Modern Browsers */ url('https://montenegrotower.com/wp-content/uploads/2022/05/oswald-v47-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('https://montenegrotower.com/wp-content/uploads/2022/05/oswald-v47-latin-regular.svg#Oswald') format('svg'); /* Legacy iOS */ }
-
AuthorPosts
- You must be logged in to reply to this topic.