Forums / General Questions / Questions regarding the Header Tags h1, h2, h3

Questions regarding the Header Tags h1, h2, h3

Locked

Views: 1,527

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
21 Nov 2009, 5:48 PM
#1
ksookma avatar

ksookma

Zen Follower

Join Date:
Aug 2009
Posts:
212
Plugin Contributions:
1

Questions regarding the Header Tags h1, h2, h3

I am so surprised that I could not find any information online regarding the h1, h2, h3 tags etc. online for Zen cart. I am looking in to the header tags to make sure that they are in the correct locations but it appears that I have some problems.

First off the website is http://www.ribbonsbaskets.com

Should I add an h3 to the product description on the product info page?

Also, I was trying to add an h1 or h2 tag around my category titles but after hours of searching I was unable to locate this. I opened the includes/sideboxes folder and opened cetegories.php. Don't think I found my answer in there.

Any help would be greatly appreciated.

Zen 1.3.8

25 Nov 2009, 6:31 PM
#2
ksookma avatar

ksookma

Zen Follower

Join Date:
Aug 2009
Posts:
212
Plugin Contributions:
1

Re: Questions regarding the Header Tags h1, h2, h3

Im still lost, how do I wrap h1 tags around my category titles.

25 Nov 2009, 6:59 PM
#3
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Questions regarding the Header Tags h1, h2, h3

ksookma:

I am so surprised that I could not find any information online regarding the h1, h2, h3 tags etc. online for Zen cart. I am looking in to the header tags to make sure that they are in the correct locations but it appears that I have some problems.

First off the website is http://www.ribbonsbaskets.com

Should I add an h3 to the product description on the product info page?

Also, I was trying to add an h1 or h2 tag around my category titles but after hours of searching I was unable to locate this. I opened the includes/sideboxes folder and opened cetegories.php. Don't think I found my answer in there.

Any help would be greatly appreciated.

Zen 1.3.8

ksookma:

Im still lost, how do I wrap h1 tags around my category titles.

If you open includes/templates/YOUR_TEMPLATE/templates/
tpl_index_categories.php
tpl_index_default.php
tpl_index_product_list.php

or any of the other files, you'll find that the headings are already wrapped in <h1> tags similar to this:

<h1 id="indexDefaultHeading"><?php echo HEADING_TITLE; ?></h1>

OR This:

<h1 id="productListHeading"><?php echo $breadcrumb->last(); ?></h1>

As for your product description - this is not a heading but rather a paragraph or series of paragraphs and should be enclosed by <p></p> tags.

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.