Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Google font not working in Chrome and Safari Reply To: Google font not working in Chrome and Safari

#150210
Senff
Participant

But those aren’t in the CSS – it’s the browser putting them there and skipping them.

It’s not the browser that does this. A browser just interprets and shows what is being presented to it, and doesn’t change the code.

Did you enter the special font in the options of the Toledo theme (there is probably a “custom CSS” option)? Cause whatever double quotes you use in there, will be escaped by adding backslashes. Hence, if you enter this anywhere in the theme options:

font-family: "Special Elite","Helvetica Neue",Arial,Helvetica,Geneva,sans-serif;

Then it will end up in the source code like this:

font-family: \"Special Elite\",\"Helvetica Neue\",Arial,Helvetica,Geneva,sans-serif;

And Google Chrome does not like those backslashes.

If that’s the case, then I would suggest creating a static CSS file with those custom styles and just load that (unfiltered) file, instead of entering the code in the theme option.

If this is NOT the case, and you selected those fonts somewhere else in the theme (or it’s part of the theme) then you may want to contact the theme author for support.