E
E
EvansBlack172014-06-25 16:28:50
Fonts
EvansBlack17, 2014-06-25 16:28:50

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

4 answer(s)
T
Timur Biktashev, 2014-06-25
@EvansBlack17

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.

S
srko, 2014-06-25
@srko

Manually fix the theme's slyle.css.
Or just try reinstalling the plugin.

W
WordPress WooCommerce, 2014-06-25
@maxxannik

As an option casepress.org/kb/web/wp-google-fonts-by-stro-nastr...

M
MakLeR, 2014-06-26
@MakLeR

maybe it's the access rights to the files edited by the plugin on the host?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question