I am just working on a redesign for a client and I am using London template.
I added a new Googlefont (as decribed in the tutorial) and added the line
$googleFonts['Noto+Sans'] = 'Noto Sans';
to the templates/j51_london/elemts/googlefonts.php.
It works in the backend so I can choose the new font.
I also changed in the template options in General > Typography Styling the body font from "Medium" to "Large".
But in frontend nothing changed.
When i check the elements in the maincontent I get the following css code:
body {
color: #525252;
font-family: Nunito Sans font-size: 17pxpx;
}
body {
line-height: 1.8rem;
font-weight: 400;
}
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 20px;
color: #333333;
}
as you see the syntax in the inline font declaration is wrong - no linebreak and double "px" so the template goes to the fallback with "Helvetica Neue" and 14px.
The error is in the inc/style.php.
I added at line 7 a ";" at the end. This is for ending the font-family declaration.
And in line 8 I deleted the "px" at the end because we get the font-size value from the templateDetails.xml WITH px.....
Hope you can use this.
Regards
Oliver