Puckle Posted July 9, 2008 Posted July 9, 2008 Hello, I was wondering if anyone could tell me what I should do to change the categories and languages boxes background color, without changing the boxes on the rest of the site. I don't mind if all the other boxes in the columns are changed as well, because I commented them all out, except for those two. However, I don't want any of the boxes in the main area to change color, I want them white. I've tried everything in the stylesheet, but if I change .infoBox, they all change...... and when I add background color to TABLE.productListing it ignores it. Here's a link: chaperon I want the sidebar boxes (categories and languages) to stay that color. But I want all the other boxes to be white. I'd really appreciate any help!
bkellum Posted July 14, 2008 Posted July 14, 2008 Hello, I was wondering if anyone could tell me what I should do to change the categories and languages boxes background color, without changing the boxes on the rest of the site. I don't mind if all the other boxes in the columns are changed as well, because I commented them all out, except for those two. However, I don't want any of the boxes in the main area to change color, I want them white. I've tried everything in the stylesheet, but if I change .infoBox, they all change...... and when I add background color to TABLE.productListing it ignores it. Here's a link: chaperon I want the sidebar boxes (categories and languages) to stay that color. But I want all the other boxes to be white. I'd really appreciate any help! You need to do the following: Create a new class in your stylesheet such as newinfoboxstyle.The css will look something like this (add your own to what you need):.newinfoboxstyleContents { background: transparent; color: white; } Copy the "class infobox" code from includes/classes/boxes.php. This code begins with class infobox extends tableBox { and ends wiith return $this->tablebox($info_box_contents); } } Paste the above code in the same file but replace all instances of "infobox" to "newinfoboxstyle" Now open your includes/boxes/categories.php file and change the class references from infobox to newinfoboxstyle Hope this helps, Bill Kellum Sounds Good Productions STS Tutorials & more: STSv4.6, STS Add-ons (STS Power Pack), STS V4 Forum STS Forum FREE TEMPLATE
Recommended Posts
Archived
This topic is now archived and is closed to further replies.