If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Question about using H1 on my main page.

Question about using H1 on my main page.

Started by amebb on 20 Jan 2026, 10:57 PM · Views: 730

Results 1 to 3 of 3
20 Jan 2026, 10:57 PM
#1
amebb avatar

amebb

Zen Follower

Join Date:
May 2008
Location:
UK
Posts:
408
Plugin Contributions:
0

Post #1 by amebb

Hi there
I need some help please with using the H1 on my website, mainly on my main page of my shop.

Here are my questions-
a) Where do i add the HTML Heading Tag H1 for my main page?
b) Does the next in the H1 tag need too be visable on the main page or can it be descrete and hidden?

Thank you

Using template BootStrap. ZC 1.5.8a

20 Jan 2026, 11:41 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,908
Plugin Contributions:
23

Post #2 by dbltoe

If your concern is about an accessibility warning on Bootstrap reporting missing h1-h3 on the main page, here's a quick fix.

Around line 25 of includes/templates/YOUR_TEMPLATE/tpl_box_default.php, add:

Line #26 :     <h1 class="[B]visually-hidden[/B]">Main Column Heading</h1>
Line #27 :     <h2 class="[B]visually-hidden[/B]">Section 1</h2>
Line #28 :     <h3 class="[B]visually-hidden[/B]">Box Headings 1</h3>

NOTE: If the heading on the left-hand column (usually Categories) is <h3> instead of <h4>, you will need to drop the example above for line #28

Then, in your includes/templates/YOUR_TEMPLATE/css/site_specific_styles.php, add:

.[B]visually-hidden[/B] {position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip-path: polygon(0 0, 0 0, 0 0, 0 0);}

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

21 Jan 2026, 12:05 AM
#3
amebb avatar

amebb

Zen Follower

Join Date:
May 2008
Location:
UK
Posts:
408
Plugin Contributions:
0

Post #3 by amebb

Thank you for your help. I will try that now