How to change from “roboto” to “open sans” on body, p elements of css?
I’m gettin mad about it. I’m asking for general, I used to code css and usually I know how to do it.
In this case I’ve some problems.
I tried to change it from the “tagdiv” panel and it doesn’t work (I’m speaking of the post content and page content).
Then I tryed to change every occurrence in the css, applying changes on child theme of course. Well everywhere it changes with the exception of what I need :,,,,-(
Viewing through firefox developer it shows “body, p { font-family: Roboto; }” the location is described as “inline:677” I can’t understand where this instruction is written, please someone help me,
Thanks a lot
P.S. Please ask me if me if someone needs further information or screenshots
If it says it’s inline, then it’s in the wordpress editor that the font is being set. Try to check the page in question and its code.
I’m not sure I get. Do you mean edit css from “/wp-admin/theme-editor.php”? In that case as I said before I’ve already did all the changes on my child theme style.css Or maybe you mean “site/wp-admin/customize.php”? In that case it don’t seem to be set there.
At the moment it works only choosing “Open Sans” from Newspaper Theme Panel, but I’d like to choose my favourite font once for all instead of Roboto or at least understand where that font come from.
Thanks anyway for your answer, very kind.
Edit: Updates! Pages seem don’t work at all, they always show roboto even if I set it up on open sans. Bof, bof, bof…
-
This reply was modified 7 years by
mf_srls.
Hello mf_srls,
Please keep in mind that the Roboto and Opens Sans fonts are used default by the theme and there is no solution to disable them. If you want to make deeper changes in this regard, you should check the td_config.php core files and from here you should change the default theme fonts which are Open Sans and Roboto with your desired one, like this -> http://screencast.com/t/YXUNUqxE. Also, if you want to remove the Roboto Google Font you can try to remove from there, clear all your caches and check the results. For more information about this regard, please consult the following topic here -> https://forum.tagdiv.com/topic/do-i-really-need-to-change-all-the-text-fields-for-fonts/
Hope this helps!
Thanks.
Hello,
If you want to disable the google fonts, you should do it from Theme panel from here -> https://www.screencast.com/t/a66CaZ0NSKmm and then, set up for each element you want a different font from the panel.
Thanks.
