Text size is incorrect for headings

Issues related to previewing and publishing your web site.
Post Reply
zinovy77
 
 
Posts: 14
Joined: Fri Apr 30, 2021 12:55 pm

Text size is incorrect for headings

Post by zinovy77 »

The generated page produced by the Web Builder has wrong text size for headings (H1, H5). I use the Style Manager with default and 768 breakpoints to setup different text size for different screen sizes. I think it started after I created the 768 breakpoint in Style Manager.

If I remove the H1 or H5 designation, then the webpage is correctly generated and text produced is correct size.

Why is it doing this?
User avatar
Pablo
 
Posts: 22488
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Text size is incorrect for headings

Post by Pablo »

To be able to help you, I need to see what you have done.
Do you have a demo project?

See this FAQ:
viewtopic.php?f=10&t=82134
zinovy77
 
 
Posts: 14
Joined: Fri Apr 30, 2021 12:55 pm

Re: Text size is incorrect for headings

Post by zinovy77 »

the website:
purespringmedical.com
the file is "CMC-V16-A.wbs"

Here is the problem: the web builder is not uploading "CMC-V16-A.css" correctly - it uploads a generic unmodified file, so H1, H5 are not there for small screens.

if I upload the CMC-V16-A.css from the preview directory, everything works properly. However, whenever I re-publish it using web builder, it deletes the correct file and uploads the wrong file.

I uploaded the correct file: "CMC-V16-A-CORRECT.css"

What do I need to do so I don't have to manually publish the file?
User avatar
Pablo
 
Posts: 22488
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Text size is incorrect for headings

Post by Pablo »

Did you use the same breakpoints in all pages?
zinovy77
 
 
Posts: 14
Joined: Fri Apr 30, 2021 12:55 pm

Re: Text size is incorrect for headings

Post by zinovy77 »

Yes, but there was one old page that only had the default, and not 768px breakpoint. I deleted it. Will this fix it?
User avatar
Pablo
 
Posts: 22488
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Text size is incorrect for headings

Post by Pablo »

If you use styles with breakpoints then the breakpoints in all pages should be the same.
zinovy77
 
 
Posts: 14
Joined: Fri Apr 30, 2021 12:55 pm

Re: Text size is incorrect for headings

Post by zinovy77 »

this fixed it. Thanks!
Post Reply