does anyone know if there is a setting to make the product title an h1 tag? what would be the best way of doing this?
Announcement
Collapse
No announcement yet.
Getting h1 tags to work
Collapse
X
-
Hi guod,
I'm not sure I understood the question correctly, but I think you mean adding an H1 tag to the product name so it displays bigger in the product listings, correct?
The simplest solution to this would be to go to Products =>View/Edit and select the product you'd like to edit, and simply add the h1 tags (open and close) to it's "Name" field.
The nice thing about the name field is that it will take basic HTML formatting, so adding the <h1> & </h1> tags to it should work.
Now this solution would be to edit product names at the individual level. If you'd like to apply the edit to all of your products, then the listing template is the place to go.
To do this, you would go into the template editor section and edit your listing_x.html page to include the H1 tags just before and after the [name] tag.
Below is an example of the listing_0.html template with this change.
Code:<!--END: CATEGORY_HEADER--> <tr> <td class="page_headers" width="90%"><h1>[name]</h1></td> <td align="right"><table cellpadding="0" cellspacing="3" border="0"> <tr>
Code:========================= PRODUCT LISTING TEMPLATES ========================= Default - listing_0.html Style 1 - listing_0.html Style 2 - listing_1.html Style 3 - listing_2.html Style 4 - listing_3.html
-
Help with <h1> tags
Henry I hope you are the one to reply to this posting. I tried all weekend to implement as you mention here http://forums.3dcart.com/general-con...tags-work.html , <h1> tags. I tried both ways, doing in the "title name" for each product and then also in the listing template around [name] and it doesn't look quite right. My issue is font sizing if I followed instructions by putting it in the listing template etc. and then if I tried doing it in each product page, then the thumbnail images showing for the product on the Category pages went off page and/or coding was showing. Can you provide any more details on how to implement <h1> tags? Would you be able to look at my website to provide better guidance? Thanks in advance!
Comment
-
Hi!
This thread is "somewhat" outdated at this point. Recent enhancements to 3dcart have included H1 tags being automatically generated for most templates. Your HTML is most likely generating H1 tags for your Page Name. If you have very customized templates, there is a possibility that this is not happening. You can check by going to any page of your website, and right clicking on the page. You should see an option for "view source". The HTML should load in a text document. You can do "find" or ctrl+f and search for H1. You should see something like this...
<h1 class="page_headers">Page Title Here</h1>
This is an H1 tag with a CSS class.
Some "BOTS" that crawl your site may tell you that you are missing H1 tags, but this is simply because they are probably programmed to look for <H1> without the CSS, but search engines will read this as H1.
Comment
-
Originally posted by 3dJoe View PostHi!
This thread is "somewhat" outdated at this point. Recent enhancements to 3dcart have included H1 tags being automatically generated for most templates. Your HTML is most likely generating H1 tags for your Page Name. If you have very customized templates, there is a possibility that this is not happening. You can check by going to any page of your website, and right clicking on the page. You should see an option for "view source". The HTML should load in a text document. You can do "find" or ctrl+f and search for H1. You should see something like this...
<h1 class="page_headers">Page Title Here</h1>
This is an H1 tag with a CSS class.
Some "BOTS" that crawl your site may tell you that you are missing H1 tags, but this is simply because they are probably programmed to look for <H1> without the CSS, but search engines will read this as H1.
Comment
Comment