![]() |
Re: SEO Checklist for New Stores
How do I get the H1 tags (step #5) to only show on the product title, and not every title on the page, e.g. send to a friend, recommended products etc as they each call the dialog.tpl from what I can see. I tried to modify the product.tpl but can't get it to work properly. Is it possible to add "if" statement to dialog.tpl to show <h1> only on product template?
Thanks, Mike |
Re: H1 tags
Moving this to its own thread. The method I usually use is to create two versions of dialog.tpl - one with h1 tags, one without. Call the h1 version (I usually call it dialog-h1.tpl) where you want them to appear - mainly subcategories.tpl and product.tpl
|
Re: H1 tags
Thanks! You are a great help to everyone on the forum.
Mike |
Re: H1 tags
Thanks again. Is there a reason why the H1 tag in Safari vs. IE looks so different? When using the original dialog template, the font size for the titles and vertical menu titles appear the same in both browsers (about 14px). When I changed to use H1, the font is very large when using the same 14px and it appears almost double the size in IE compared with Safari.
Is there a way to write an if statement to look at browser people are using and then use different stylesheet? Thanks, Mike |
Re: H1 tags
Depends on the font you are calling - remember PC and MAC have different fonts, so you need to make sure you specify a universal one or you'll get unreliable results.
|
All times are GMT -8. The time now is 07:30 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.