Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Color of Columns? changing?

Color of Columns? changing?

Locked

Views: 1,069

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
30 Jan 2007, 5:02 PM
#1
jenbrink_fuse_net avatar

jenbrink_fuse_net

New Zenner

Join Date:
Nov 2006
Posts:
81
Plugin Contributions:
0

Color of Columns? changing?

If I want the entire left column on all page to be a solid color, how would I change that?

I thought it was the /template_default/common/tpl_mainpage.php.

I made the change on the left side table but nothing happened.

Thanks for any help!

30 Jan 2007, 5:13 PM
#2
afo avatar

afo

Totally Zenned

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

Re: Color of Columns? changing?

No, that would be in your stylesheet. In includes/templates/YOUR_TEMPLATE/css/stylesheet.css, look for

.sideBoxContent {
	background-color: #ffffff;
	padding: 0.4em;
	}

and change the background-color to what you want.

30 Jan 2007, 5:30 PM
#3
Join Date:
Jun 2006
Location:
London
Posts:
18
Plugin Contributions:
0

Re: Color of Columns? changing?

The previous reply will get you to change the background of the side boxes. If I understand your querry, you want to change the whole column to another color. You might find in you CSS file

#navColumnOne {

}

Inset in there the following: background:#CCCCCC Make sure you enter your own colour code here.

Thanks

30 Jan 2007, 5:44 PM
#4
afo avatar

afo

Totally Zenned

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

Re: Color of Columns? changing?

deo.dravie@accesslin:

The previous reply will get you to change the background of the side boxes. If I understand your querry, you want to change the whole column to another color. You might find in you CSS file

#navColumnOne {

}

Inset in there the following: background:#CCCCCC Make sure you enter your own colour code here.

Thanks

Actually, it may require both changes depending on what the desired effect is.

30 Jan 2007, 6:09 PM
#5
jenbrink_fuse_net avatar

jenbrink_fuse_net

New Zenner

Join Date:
Nov 2006
Posts:
81
Plugin Contributions:
0

Re: Color of Columns? changing?

deo.dravie@accesslin:

The previous reply will get you to change the background of the side boxes. If I understand your querry, you want to change the whole column to another color. You might find in you CSS file

#navColumnOne {

}

Inset in there the following: background:#CCCCCC Make sure you enter your own colour code here.

Thanks

This is the one that I was looking for. It works, but it changes both the left and the right column to the color i changed it to.
(Which, doesnt seem right)

Is it possilbe to change just one side?

Thanks for you help!

30 Jan 2007, 6:45 PM
#6
jenbrink_fuse_net avatar

jenbrink_fuse_net

New Zenner

Join Date:
Nov 2006
Posts:
81
Plugin Contributions:
0

Re: Color of Columns? changing?

I created the css navColumnTwo with white background and it works.

Thanks!

30 Jan 2007, 9:28 PM
#7
afo avatar

afo

Totally Zenned

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

Re: Color of Columns? changing?

I was just going to ask if your style sheet looked like this

#navColumnOne, #navColumnTwo {
	background-color: #990000;
	}

and if it did, I was going to suggest you change it to:

#navColumnOne {
	background-color: #000000;
#navColumnTwo {
	background-color: #ffffff;
	}

You got there before me. :thumbsup: