Page 1 of 1
Heading does not become bold
Posted: Tue May 02, 2023 11:28 am
by wwonderfull
the heading tool if a class is put Heading 1 <h1> tag and the font is changed to a web font or even a websafe font other than arial, it seems in preview the shows bold but when published it does not show the text bold.
How to repeat what I did:
1. Blank Project
2. Take Heading tool place it on page
3. Go to style Manager change the Heading 1 <h1> style and change the font only. Any font maybe open sans, roboto (in bold setting it is already bold as it is a heading)
4. Preview it.
Re: Heading does not become bold
Posted: Tue May 02, 2023 11:49 am
by Pablo
Did you apply the style to the heading object?
Also, note that if you leave the bold property undefined then the default browser style will be used.
So, it must be set to either false or true.
Re: Heading does not become bold
Posted: Tue May 02, 2023 12:26 pm
by wwonderfull
Pablo wrote: Tue May 02, 2023 11:49 am
Did you apply the style to the heading object?
Also, note that if you leave the bold property undefined then the default browser style will be used.
So, it must be set to either false or true.
Yes the heading object specifically the heading tool the dedicated heading tool from the toolbox.
I have set it true but still only when published I checked the code using browsers developer tool, it seems it nullifies the bold setting somehow and does not apply. In preview of WWB it shows the text is bold but when published it is published without bold. font weight 400 it shows.
Re: Heading does not become bold
Posted: Tue May 02, 2023 12:57 pm
by Pablo
Please share a DEMO project so I can see all your settings.
viewtopic.php?f=10&t=82134
Re: Heading does not become bold
Posted: Tue May 02, 2023 1:08 pm
by wwonderfull
Re: Heading does not become bold
Posted: Tue May 02, 2023 1:19 pm
by Pablo
The problem with the font you have used is that it does not have a Bold variant. it only has 'regular'.
Re: Heading does not become bold
Posted: Tue May 02, 2023 2:09 pm
by wwonderfull
So that means in order to make the font bold I need a bold version of the same font?
So can't we just add a css to make the regular font bold?
Re: Heading does not become bold
Posted: Tue May 02, 2023 2:42 pm
by Pablo
in order to make the font bold I need a bold version of the same font?
Yes, for Google fonts.