- This topic has 18 replies, 4 voices, and was last updated 3 years, 7 months ago by David.
October 1, 2018 at 8:15 am #690804JJ Smith
So I’m using a custom font and everything works great on the home page. The font loads and no errors. Using a custom file font loaded to the server then CSS to control what we want to display and such.
The issue happens when you create a new page then the font breaks and goes back to standard font.
Have you ever seen that?GeneratePress 2.1.4GP Premium 1.7.2October 1, 2018 at 2:58 pm #691074LeoStaffCustomer SupportOctober 2, 2018 at 7:48 am #691551JJ Smith
I’m working off my desktop right now.October 2, 2018 at 9:12 am #691717LeoStaffCustomer SupportOctober 2, 2018 at 9:18 am #691727JJ Smith
I will do that.
Will get it up and live shortly.
JJOctober 3, 2018 at 1:54 pm #692825JJ Smith
I added the IP address website URL in so you can see what is going on.
The front page works great, but the showcase page breaks the font and all settings.
I’ve never seen this before.
JJ SmithOctober 3, 2018 at 3:22 pm #692871LeoStaffCustomer Support
How are you adding the font currently?
Can you try the steps here if you haven’t already done so?
https://docs.generatepress.com/article/adding-local-fonts/October 3, 2018 at 3:29 pm #692877JJ Smith
I have it loaded up on the server and use @fontface on the CSS.
You see when you go to the different page it all breaks?October 3, 2018 at 4:11 pm #692887DavidStaffCustomer SupportOctober 3, 2018 at 4:22 pm #692888JJ Smith
So I can’t do this?
src: url(“css/fonts/*****___.ttf”);October 3, 2018 at 9:01 pm #692985TomLead DeveloperLead Developer
It depends where you’re adding the CSS.
If it’s in a child theme, you can use a relative address.
Otherwise, you need to use the full URL.October 4, 2018 at 4:07 am #693164JJ Smith
Not using a child theme. Using GP and Simple CSS.October 4, 2018 at 4:13 am #693173DavidStaffCustomer SupportOctober 4, 2018 at 4:18 am #693180JJ Smith
Can you give me an example just to make sure I do it right?
JJOctober 4, 2018 at 4:41 am #693194
- You must be logged in to reply to this topic.