Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How to have sub categories set; also, how to change color in contents of side box?

How to have sub categories set; also, how to change color in contents of side box?

Locked
This thread is locked. New replies are disabled.
30 Oct 2006, 3:51 PM
#1
kitty avatar

kitty

New Zenner

Join Date:
Oct 2006
Posts:
63
Plugin Contributions:
0

Post #1 by kitty

Hi,
Just wanted to know how do i set the categories and its subcategories permanently (dont want it to drop down/ arrow and amount of subcategories in it)?

How to change the font color in information, more information side box, currencies font in the drop down, who's online?

Cheers

2 Nov 2006, 6:15 AM
#2
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Post #2 by knuckle_101

First open the stylesheet.css in the folder includes/templates/your template/css folder

I am assuming your using the classic template so open the css sheet and look for these lines and using the newest version of zen

/*sideboxes*/
.columnLeft {}

h3.leftBoxHeading, h3.leftBoxHeading a,
h3.rightBoxHeading, h3.rightBoxHeading a {
	font-size: 1em;
	color: #ffffff;
	}
#manufacturersHeading, #currenciesHeading, #musicgenresHeading, #recordcompaniesHeading, #searchHeading, #search-headerHeading {
	font-size: 0.9em;
	color: #ffffff;
}

.leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
	margin: 0em;
	[B]background-color: #abbbd3;[/B]
	background-image: url(../images/tile_back.gif);
	padding: 0.5em 0.2em;
	}

.leftBoxContainer, .rightBoxContainer {
	margin: 0em;
	border: 1px solid #9a9a9a;
	border-bottom: 5px solid #336633;
	margin-top: 1.5em;
	}

.sideBoxContent {
	[B]background-color: #ffffff;[/B]
	padding: 0.4em;
	}

h3.leftBoxHeading a:hover, h3.rightBoxHeading a:hover {
	[B]color: #FFFF33;[/B]
	text-decoration: none;
	} 

.rightBoxHeading a:visited, .leftBoxHeading a:visited, .centerBoxHeading a:visited {
	[B]color: #FFFFFF;[/B]
	}

The colors I marked in red are the sections you need to edit for the background color changes, read the title of the stylesheet that that line of read is in and that will explain the function of the color your changing.

For example

.sideBoxContent {
	[B]background-color: #ffffff;[/B]
	padding: 0.4em;
	}

#ffffff is the color of the background of your sideboxes simply change that code to the color code of your choice, and goes for the rest if you wish to change them as well, not required.

experiment a little, be sure to back up any file you play with incase you mess up.

Also you can go here http://www.w3schools.com/css to the famous css school and learn a little at the same time

Good Luck

PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
Business Class Web Hosting - Linux and cPanel Powered