- This topic has 7 replies, 5 voices, and was last updated 3 years, 4 months ago by
David.
-
AuthorPosts
-
November 22, 2022 at 4:51 am #2427014
sporenborg
Hi,
according to your instructions, I am trying to integrate locally hosted fonts (child theme) so that the Font Manager in the Customizer displays the OpenSans. If I control the fonts via css, the output works. But in the FontsManager > Add Font > Search Fonts the OpenSans is not displayed. What am I doing wrong?
And … may I also keep the path to the fonts relative? When I upload the fonts via MediaManager, they are located in the directory /wp-content/uploads/2022/11 … What would be the exact path designation in my case?
Can I also upload the fonts to a different directory?
Example: /wp-content/uploads/webfontsIs the FontsManager able also access these files or does this only work via css? Does your provided code for function.php work in this case too?
thanks in advance for your great help
November 22, 2022 at 7:41 am #2427270David
StaffCustomer SupportHi there,
if you have completely disabled Google fonts in the Customizer then they won’t show in the list.
Instead in Font Manager > Add Font you simply type in the name of the font, it needs to befamily-nameyou included in your @font-face CSSNovember 27, 2022 at 10:26 am #2437567Yumei
Hi, I have a related question: If I put the css in the Customizer, then the font works. If I put it in the child theme’s style.css, the font doesn’t work. What can I do to free up the Customizer by adding the font css in the child theme’s style.css file?
November 27, 2022 at 1:02 pm #2437793Ying
StaffCustomer SupportIf I put it in the child theme’s style.css, the font doesn’t work
Both ways would work, it’s likely you have some errors in the style.css.
November 27, 2022 at 4:17 pm #2437961sporenborg
Hi David,
as you can see I named the
font-family: 'OpenSans-Light';in@font-face(local hosted) … but is isn’t displayed in the FontsManager. Something doesn’t work.November 27, 2022 at 6:28 pm #2438054Fernando Customer Support
Hi Sporenborg,
We can’t access the site right now. It seems your Server is down. Can you check this with your Host Provider first?
We’ll recheck the issue once the site is up.
December 1, 2022 at 2:04 am #2444160sporenborg
Hi Fernando,
the server is up again 😉
December 1, 2022 at 5:04 am #2444295David
StaffCustomer SupportSorry i am a little confused.
I can see you have manually added the Fonts to the Font Manager.
And those are selectable in the Typography manager: -
AuthorPosts
- You must be logged in to reply to this topic.