Heading does not become bold

Issues related to previewing and publishing your web site.
Post Reply
User avatar
wwonderfull
 
 
Posts: 1586
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Heading does not become bold

Post 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.
User avatar
Pablo
 
Posts: 23441
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Heading does not become bold

Post 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.
User avatar
wwonderfull
 
 
Posts: 1586
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Heading does not become bold

Post 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.
User avatar
Pablo
 
Posts: 23441
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Heading does not become bold

Post by Pablo »

Please share a DEMO project so I can see all your settings.
viewtopic.php?f=10&t=82134
User avatar
Pablo
 
Posts: 23441
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Heading does not become bold

Post by Pablo »

The problem with the font you have used is that it does not have a Bold variant. it only has 'regular'.
User avatar
wwonderfull
 
 
Posts: 1586
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: Heading does not become bold

Post 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?
User avatar
Pablo
 
Posts: 23441
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Heading does not become bold

Post by Pablo »

in order to make the font bold I need a bold version of the same font?
Yes, for Google fonts.
Post Reply