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 / Changing the colours of centre box headings

Changing the colours of centre box headings

Locked

Started by cal on 26 Feb 2007, 3:19 PM · Views: 1,156

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
26 Feb 2007, 3:19 PM
#1
cal avatar

cal

New Zenner

Join Date:
Feb 2006
Posts:
54
Plugin Contributions:
0

Post #1 by cal

Hi

I need to change the colours of the centre box headings; featured, new, specials etc, so they are all different colours?

I'm using v1.3.7.

Any ideas?

Cal

That Thou Art

26 Feb 2007, 6:52 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Post #2 by afo

In your stylesheet look for

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

You can split those up into

.leftBoxHeading {
	margin: 0em;
	background-color: #abbbd3;
	color: #ffffff; (white)
	background-image: url(../images/tile_back.gif);
	padding: 0.5em 0.2em;
	}

.centerBoxHeading {
	margin: 0em;
	background-color: #abbbd3;
	color: #ff0000; (red)
	background-image: url(../images/tile_back.gif);
	padding: 0.5em 0.2em;
	}

.rightBoxHeading {
	margin: 0em;
	background-color: #abbbd3;
	color: #c0c0c0; (grey)
	background-image: url(../images/tile_back.gif);
	padding: 0.5em 0.2em;
	}

Change the lines in blue to whatever suits your site. Add the lines in red with the appropriate color codes. I'm not sure how you'd get different colors for the "Featured Products" and "New Products", tho.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

27 Feb 2007, 2:26 PM
#3
cal avatar

cal

New Zenner

Join Date:
Feb 2006
Posts:
54
Plugin Contributions:
0

Post #3 by cal

Thanks Afo

What I really need to know is how to make them all different colours though :).

Anyone got any other ideas?

Cheers

Cal

That Thou Art