Font not displaying in CMS but does display live.
I'm having an issue rendering a font within the CMS. I have just copied css files from my non secure to my secure side and the only issue I'm having is I cannot get one of my fonts to displaying text correctly in the CMS. It publishes out correctly. Everything else that is in that same css is working fine in both the CMS and live, its just that one font. I have verified the font's location in the secure side and the path I have is correct. I have my css file linked to an include.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ryan Griffith on 29 Jun, 2015 07:53 PM
Hi,
Sounds as though your browser may be blocking the font from loading. Generally, this occurs when the page requesting the file is secure, but the file itself is not.
Is this font coming from an external source by chance? If so, check the URL to see if it starts with
http://
. If it does, change it to//
to make it scheme-relative so the font can be loaded over SSL as well.Please let me know if you have any questions.
Thanks!
2 Posted by nicban on 29 Jun, 2015 08:50 PM
Thanks I figured out my issue. I didn't have the fonts folder in the secure side in the cms. It was just on the server. Thanks for your assistance.
3 Posted by Ryan Griffith on 30 Jun, 2015 02:03 PM
Thank you for following up, I am glad to hear you were able to track down the cause of the fonts not loading.
I'm going to go ahead and close this discussion, please feel free to comment or reply to re-open if you have any additional questions.
Have a great day!
Ryan Griffith closed this discussion on 30 Jun, 2015 02:03 PM.