Google fonts

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
User avatar
Pablo
 
Posts: 18378
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Google fonts

Post by Pablo » Tue May 15, 2018 6:06 am

I was not able to reproduce this behavior.
Can you please share a demo project so I can see the exact settings?

colin1661music
 
 
Posts: 99
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Google fonts

Post by colin1661music » Tue May 15, 2018 6:27 am

How do I send it to you, I've not uploaded it yet, I've just been previewing it. I can upload it to a temp folder if you want?

User avatar
Pablo
 
Posts: 18378
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Google fonts

Post by Pablo » Tue May 15, 2018 6:44 am

- upload the demo wbs file to your website or another public server
- share the link
Please try to keep the demo project as simple as possible.

colin1661music
 
 
Posts: 99
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Google fonts

Post by colin1661music » Tue May 15, 2018 5:16 pm


User avatar
BaconFries
 
 
Posts: 4403
Joined: Thu Aug 16, 2007 7:32 pm

Re: Google fonts

Post by BaconFries » Tue May 15, 2018 5:24 pm

When upload was asked it was a url to the 'Project' .wbs file itself not the url of your site. So please upload the .wbs file to your site then provide a url like such

http://langleyparkbeckenham.co.uk/2018/yourwbs.wbs

User avatar
Pablo
 
Posts: 18378
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Google fonts

Post by Pablo » Tue May 15, 2018 5:36 pm

Sorry, I need to the project file (wbs). I cannot see what your settings are based on the HTML code.

Note however that the style name 'Robotlight 12' is invalid. You may not use spaces in style names.
https://www.wysiwygwebbuilder.com/forum ... 10&t=64868

colin1661music
 
 
Posts: 99
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Google fonts

Post by colin1661music » Tue May 15, 2018 6:07 pm


User avatar
Pablo
 
Posts: 18378
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Google fonts

Post by Pablo » Tue May 15, 2018 9:12 pm

Thanks for sharing the project.

- the master page does not have the same breakpoints as the 'home 'page, this may cause a conflict because the layout of the menu will be undefined in breakpoints.
- the style name 'Robotlight 12' is invalid. You may not use spaces in style names.
- The 'home' page use breakpoints, but these breakpoints have not been defined in the style(s).
- In Tools->Options->HTML, generate external style sheet is enabled.
When using global styles, all pages should have the same structure. That means they should have the same breakpoints and use the same google fonts, otherwise different pages will generated a different global style sheet.
For example, page "index" will generated a different global style sheet as "home".

colin1661music
 
 
Posts: 99
Joined: Sun May 31, 2015 3:49 pm
Location: London
Contact:

Re: Google fonts

Post by colin1661music » Wed May 16, 2018 7:04 am

Hi Pablo,

Thank you so much for spending the time to look at this I spent late in to the night trying to see if I could make the changes work, but no luck so reverted back to using my own css file, below is what I think the problem is, please don't spend any more time on this I know how to get round the problem, I was just thinking you might have changed things in this version.

Here is the style created by WYSIWYG.


h1, .h1
{
font-family: "Roboto Light";
font-weight: normal;
font-size: 21px;
text-decoration: none;
color: #A9A9A9;
background-color: transparent;
margin: 0px 0px 0px 0px;
padding: 0px 0px 20px 0px;
display: inline;
}

Here is the style that I use

h1, .h1
{
font-family: "Roboto";
font-weight: 300;
font-size: 21px;
text-decoration: none;
color: #A9A9A9;
background-color: transparent;
margin: 0px 0px 0px 0px;
padding: 0px 0px 20px 0px;
display: inline;
}

User avatar
Pablo
 
Posts: 18378
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Google fonts

Post by Pablo » Wed May 16, 2018 7:41 am

The reason why WWB generate this code is because there are conflicts in the styles (non-matching breakpoints).
Therefor the CSS parser will not be able to map the Google fonts to their real names.

If you click 'Error Reports' on the 'home' page then you will notice that WWB will displays a warning about this.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests