Hi guys,
WordPress: 4.3.1
WP multisite enabled: No
Theme name: Newspaper
Theme version: 6.5.1
Theme database version: 6.5.1
I have to mention that I am using the child theme of Newspaper as provided in the package.
The problem is that although I have chosen Roboto (Google Font) and in here:
Dashboard > Newspaper > Theme panel > Theme Fonts > “Add custom fonts / Change google fonts settings” > Google Font Settings (Latin & Greek) > Save Setings
I end up with the following when viewing source…
<link rel='stylesheet' id='google_font_open_sans-css' href='https://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C400%2C600%2C700&subset=greek%2Cgreek-ext&ver=442213b9f64802786cef7a695850c25f' type='text/css' media='all' />
<link rel='stylesheet' id='google-fonts-style-css' href='https://fonts.googleapis.com/css?family=Roboto%3A400%2C700&ver=442213b9f64802786cef7a695850c25f' type='text/css' media='all' />
So how do I get rid of “Open Sans” 🙂 and how do I get to load the subsets for Roboto?
Thanks!
Hi,
These fonts are loaded as they are the default fonts used by the theme. You can edit the td-config file and remove the open sans – http://screencast.com/t/viDr6x0B then check the page source, it shouldn’t be loaded anymore. Please note that you have to do this change in the main theme as this file cannot be overwritten via child theme.
If you set another font for any of the theme sections, it will be loaded in your page source, for example – http://screencast.com/t/JRZtdnRWwsW – http://screencast.com/t/9owH1FfhUTWv – http://screencast.com/t/hVG8jy1U
Thanks!
Hi,
Unfortunately the config file will not be included n child theme, as far I know, but if the developers will find a solution we will implement it.
You can try this hook in functions.php file from child theme to stop loading the default theme fonts, just paste this code in the child theme functions file – http://screencast.com/t/hLPMbut3GlOH – http://pastebin.com/HjBxAmTP
Thanks!