
Originally Posted by
sleepless
Hi qhome,
I have been trying to change the tab headers to be white with no borders. I was trying to add a background gradient. But...when I get the center box heading to change, it changes it on my main page as well, new products, featured products, etc. Is there any way to only change the headings on the tabbed items only?
The following link is something like what I want. How the heading and and the info have the same color background. My background color, image is different of course but it's the same idea.
http://www.zen4me.com/demo/zm0025/in...products_id=36
Thanks,
Kelly
Hi Kelly,
By default, the zen-cart "centerBoxHeading" is used for both the Monthly boxes on the main page, and the headers on modules on the product display info page. Normally, if you didn't use tabs, you would see blocks for customers also purchased and cross sell, which would also have the same "centerBoxHeading" css class.
So for the tabs, I am really just following the same structure as zen-cart.
Now, for a possible solution:
Aside from class tags, there are also id tags for each of those headers so you should be able to add some override colors/images for those specific ids in your stylesheet.css file (at the bottom).
You can find the id's of those divs in your page source, but something like (tho i'm not 100% sure)
Code:
#ProductsDescriptionHeader1, #ProductsDescriptionHeader2, #ProductsDescriptionHeader3, #ProductsDescriptionHeader4, #alsopurchased.h2, #crossSell.h2
{
background-color: #xxxxxx;
}
Bookmarks