Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Changing column bg colors

Changing column bg colors

Locked

Views: 2,158

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
30 May 2006, 11:51 PM
#1
samisoaps avatar

samisoaps

New Zenner

Join Date:
May 2006
Posts:
42
Plugin Contributions:
0

Changing column bg colors

I've searched the forums. Checked out all the css info (including those to find things in the css) I can not for the life of me change the background colors in the left and right columns. URL is https://www.sssoaps.com/shop

Thanks,

Andrea

31 May 2006, 12:33 AM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Changing column bg colors

In your stylesheet.css find these lines:

#navColumnOne {

	background-color: #FFCC99;

	}



#navColumnTwo {

	background-color: #00BFBF;

	}

Change the color code as you want.

31 May 2006, 10:18 AM
#3
samisoaps avatar

samisoaps

New Zenner

Join Date:
May 2006
Posts:
42
Plugin Contributions:
0

Re: Changing column bg colors

hi Clyde,

Thank you. I did do that though and for some reason the changes aren't showing up. :down: I have them both set at #ffffff

Andrea

31 May 2006, 11:11 AM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Changing column bg colors

You're using 3 stylesheets

stylesheet.css
stylesheet_new.css
stylesheet_original.css

there may be duplicate selectors in these stylesheets that are interfering with each other and affecting the rendering of the pages.

I'd go through them combine/modify/delete selectors and comeup with just one stylesheet.

31 May 2006, 11:39 AM
#5
samisoaps avatar

samisoaps

New Zenner

Join Date:
May 2006
Posts:
42
Plugin Contributions:
0

Re: Changing column bg colors

Ok I'm starting from "scratch". Got the logo centered and got my columns white. What's the best way to get a border around the whole column? Right now it's only on the outsides of the columns. Also, how to make a border around each sidebox? I'm off to search the forum for answers, but if have a quick fix I'd be happy to hear it. Thank you so much for all your help. I am learning quite a bit.

Andrea

31 May 2006, 1:32 PM
#6
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Changing column bg colors

Are you using only left side boxes?

If you want to use right boxes with borders you'll need to add this to your stylesheet:

.rightBoxContainer {

	border: 1px solid #000000;

	margin-top: 1.5em;

	}
31 May 2006, 7:09 PM
#7
samisoaps avatar

samisoaps

New Zenner

Join Date:
May 2006
Posts:
42
Plugin Contributions:
0

Re: Changing column bg colors

Hi Clyde,

Originally I had both sides, but when i started from scratch I decided to just go with the left side. Still can't get a border around the columns though. I did get ones around the boxes though so I'm making progress. Need to figure out how to get a login/my account link up below the header. I think i deleted something somewhere, but I'm going to stop looking at it for today and then maybe I can figure it out tomorrow. Thanks!

Andrea

31 May 2006, 8:42 PM
#8
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Changing column bg colors

Find this in your style sheet:

#navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
	margin: auto;
}

and make this change:

#navColumnOneWrapper, #navColumnTwoWrapper {
	margin: auto;
	border: 1px solid #000;}
#mainWrapper {
	margin: auto;
}

Also if I could make a suggestion, Your column and the boxes are the same width. I'd make the column just a bit wider than the boxes. You can do this in admin -> configuration -> layout settings -> column width - left.

leave the boxes at 150px and set the column to 170px

31 May 2006, 11:22 PM
#9
samisoaps avatar

samisoaps

New Zenner

Join Date:
May 2006
Posts:
42
Plugin Contributions:
0

Re: Changing column bg colors

Thanks Clyde! You've been a huge help :thumbsup: I'll play with it some more tomorrow and let you see my progress (If you'd like a free bar of soap, let me know :D )

Andrea