Answer the question
In order to leave comments, you need to log in
How to change fonts in wordpress?
After transferring a wordpress site from Denver to a hosting (timeweb.ru), the Font - official webfonts plugin stopped working. With it, I set up fonts on the site. Everything worked fine on Denver, but not on hosting. In edit mode, the fonts change, but when you press the save button, the page reloads and all changes are lost. The fonts in the theme are controlled by the functions.php file, but I'm a zero in php, so... Can you recommend any alternatives? The site itself
Answer the question
In order to leave comments, you need to log in
If you know the name of the font, then use the search in functions.php to find the line where this name is used. Somewhere in the same place there may be a path to the file (lamas) of fonts. Change paths, names, links, etc. Or use a crutch: screw the font from google.com/fonts into the header and set the font marked !important in the styles. Usually helps.
PS Before picking functions.php make a backup.
As an option casepress.org/kb/web/wp-google-fonts-by-stro-nastr...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question