Man, I'm sure missing the forest for the trees...
Leave everything as it was, and style it with
#productName
in your stylesheet.
Man, I'm sure missing the forest for the trees...
Leave everything as it was, and style it with
#productName
in your stylesheet.
I created:
and changed the tag in tpl_product_info_display.php to:Code:h7 { font-size: 12px; color: #990000; padding: 2px 0px; margin: 0.1em 0 0em; font-weight: bold; font-family: Geneva, Arial, Helvetica, san-serif; font-style: italic; background-color: #FFFFFF} }
with no result. I must be missing something.Code:<!--bof Product Name--> <h7 id="productName" class="productGeneral"><?php echo $products_name; ?></h7> <!--eof Product Name-->
You see, I put an image background on the original h1....but it also displayed on the product name line. And ratherd badly.
heres a link:
theribbondiva
and thanks for your replies
I want to thank you very much. I ditched the h7 tag and added the #productName to the stylesheet as you suggested above. Then I styled the #productName tag as I wanted and all is well at the moment. I can't thank you enough!
I would use an image if I were you as there are a couple of problems I can think of with doing it in CSS.
Firstly - Accessibility: People using text browsers will see the description twice, which can be annoying. Likewise anyone using an Aural browser will hear the words spoken twice, again annoying.
Secondly, and probably most importantly for most people [at the moment anyway] - the search engines will at least down grade your site [and possibly ban it] if they think that you are keyword spamming - and the product description is an important keyword.
Just my opinion.