February 20, 2022 at 1:47 am
#97152
Theme Horse Support Team
Keymaster
Hi Juergen,
We apologize for the late response. We are investigating this issue for the appropriate solution.
You can follow the previous instruction to remove the "wp_register_style"
and "wp_enqueue_style"
. and follow as instructed below.
- Download the Font-family
- Convert the Font for the Web. after converting the font files will have in format like ‘eot’, ‘woff2’, ‘woff’, ‘ttf’, ‘svg’. You can find various website to convert the font to Web.
- Upload the Font-family inside the Theme Directory.
- After converting Font to Web you will find a css file about font families with its font links. You have to change the link to the exact font directory. Like you can see on previous reply by ‘Wolfgang’
- Copy the code and paste it to the style.css file
- Also, paste the below code to style.css file of on the addition CSS field (Appearance > Customize > Ambition Theme Option > Custom CSS)
body {
font-family: 'Open Sans';
}
NOTE: Here the Example is shown for the ‘Open Sans’ Font family. You have to use the same font family as used in the codes of font-family that was copied after converting to the web.
Also, make sure you make the Child theme first before adding the fonts and customizing the style.css file so that the customized code won’t get lost while Updating the Theme to a New version in the Future.
Thanks