When i clear the cache, then enable the font works, if i refesh the page 5 times, it then vanishes on that refreshed page, then starts to vanish from the rest of the website.
If i upload all 3 and set them like in the pic, the menu and heading on homepage revert to system font after refresh a few times and all other pages revert to system font.
If i upload only medium font and clean all cache and remove other font files, after refreshing it will change to the bold custom font i uplaoded and medium custom font, but the bold font is not even on the server at all.
status.png is what the font should look like, whenever i change the font, it shows on all pages, untill i refresh a few times, then every single page apart from one page reverts to system font.
We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.
Cookies are small text files that can be used by websites to make a user's experience more efficient.
The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.
This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.
You can at any time change or withdraw your consent from the Cookie Declaration on our website.
Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.
Please state your consent ID and date when you contact us regarding your consent.
Comments
which file does the custom fonts get uploaded to in FTP, i cant see the font file anywhere but the font loads on the site with cache disabled.
When i clear the cache, then enable the font works, if i refesh the page 5 times, it then vanishes on that refreshed page, then starts to vanish from the rest of the website.
Hi,
The uploaded custom font goes to https://yourwebsite.com/wp-content/uploads/year/month/font.ttf.
I tried to replicate this issue in my environment, and the custom font worked with cache option built-in theme options.
Are there any extra steps to reproduce that?
Best regards
I have uploaded the fonts im trying.
If i upload all 3 and set them like in the pic, the menu and heading on homepage revert to system font after refresh a few times and all other pages revert to system font.
If i upload only medium font and clean all cache and remove other font files, after refreshing it will change to the bold custom font i uplaoded and medium custom font, but the bold font is not even on the server at all.
the css gets canceld out for some reason, no other font family is showing either.
status.png is what the font should look like, whenever i change the font, it shows on all pages, untill i refresh a few times, then every single page apart from one page reverts to system font.
Looks to be an issue with varnish cache with 1 font and purge varnihs cache it works fine
Multiple weight fonts, purista bold, purista medium, purista semi bold, then the font css gets canceled and it reverts to system font
To clarify. Do you refer to the cache option in theme options or to the varnish cache?
At the beginning, you mentioned the one from theme options and now you talk about the varnish, and I want to miss the confusion.
Best regards