Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How do I change the colour of the Box?

How do I change the colour of the Box?

Locked

Views: 1,142

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
8 Sep 2008, 8:04 PM
#1
andyferriby avatar

andyferriby

New Zenner

Join Date:
Sep 2008
Posts:
18
Plugin Contributions:
0

How do I change the colour of the Box?

Hiya People.

I am wanting to change the colour of all the boxes on the main page, so that they are in red... Similar to the website https://www.realraptors.com

As you can see from that site, their titles for the boxes on left and right hand side are in red....

Is there anyway that I can do this, as i'm new to using Zencart and .css editing

Hope someone can help,

kindest Regards

A Ferriby

9 Sep 2008, 1:13 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How do I change the colour of the Box?

In your stylesheet.css file, find this:

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

remove the backfround-image part and change the background-color to whatever you want.

9 Sep 2008, 1:20 PM
#3
afo avatar

afo

Totally Zenned

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

Re: How do I change the colour of the Box?

Those are all images. You should be able to change that in this section of your stylesheet (content may vary depending on your template).

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

If you have the Firefox browser, you can check this sort of information using the web developer add-on. Both Firefox and the add-on are free to download and are a great help in situations like this.