Optional Google font parameters.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/publish.html
http://www.wysiwygwebbuilder.com/preview.html
Frequently Asked Questions about Publishing
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/publish.html
http://www.wysiwygwebbuilder.com/preview.html
Frequently Asked Questions about Publishing
Optional Google font parameters.
Hi. How do I get display=block into Google fonts optional parameters? I've tried what is described in the documentation as seen in the image attached, and also the actual code from the font parameters. But these don't work. They do not make into the CSS font file. I have to manually edit the css file.
Re: Optional Google font parameters.
It seems to work for me. It doesn't go into the CSS font file. It is added to the link reference to the google font in the html code in the head section.
example:
example:
Code: Select all
<link href="https://fonts.googleapis.com/css2?family=Exo+2:wght@100..900&display=block&display=swap" rel="stylesheet">
Re: Optional Google font parameters.
Thanks but don't you have to manually edit it in. I'd like to avoid manually editing after each page publish. Docs said it should work the way I did it. Cheers.
Re: Optional Google font parameters.
Also, I don't have a link to my fonts because they get automatically published in a css file. Each subdiectory/subfolder duplicates this same css file.
Re: Optional Google font parameters.
here is the html:
Re: Optional Google font parameters.
I'm using version 19.2.2
Re: Optional Google font parameters.
Are you hosting the fonts on your server or using Googles servers? Link to your page?
- BaconFries
-
- Posts: 5648
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Optional Google font parameters.
Docs said it should work the way I did it.
What docs are you referring to within the software or from Google?.
As crispy68 how are you trying to use/insert the font(s). From you screenshot it doesn't look like you have inserted the fonts via the software. If you have inserted the css file yourself then the software cannot modify in anyway as it has noway to read it so this explains why you have to manually edit the said file. If you need help the see the following:
How do I share my project to get help?
Re: Optional Google font parameters.
Thanks for helping. I'm working on a Demo version. Here is the missing info you guys requested:
- BaconFries
-
- Posts: 5648
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Optional Google font parameters.
Please see the following for help this is asked so we can actually load your project (.wbs) ourselves into the software as just viewing screenshots doesn't help!. Please also note that help is for licenced users of the software.
How do I share my project to get help?
How do I share my project to get help?
Re: Optional Google font parameters.
Thanks. Will do.
BTW: I had to enter my order number to join the forum. So licensed = true
BTW: I had to enter my order number to join the forum. So licensed = true
Re: Optional Google font parameters.
Does anyone know where to specify display=block for local google fonts?
Re: Optional Google font parameters.
In my test, it does not appear that additional parameters are added if you are hosting Google fonts locally.
Pablo should be able to confirm this. Up to him if this can be added.
Pablo should be able to confirm this. Up to him if this can be added.
Re: Optional Google font parameters.
curious...what is your reasoning for needing to add this since display=swap is already being used?