| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||
|
|||||||
![]() 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 |
|||||||
#2
|
|||||||
|
|||||||
![]() 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
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks! You are a great help to everyone on the forum.
Mike |
|||||||
#4
|
|||||||
|
|||||||
![]() 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 |
|||||||
#5
|
|||||||
|
|||||||
![]() 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.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|