If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Change colour of standard template

Change colour of standard template

Locked

Started by jwball on 19 Apr 2007, 1:41 PM · Views: 5,698

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
19 Apr 2007, 1:41 PM
#1
jwball avatar

jwball

New Zenner

Join Date:
Apr 2007
Posts:
17
Plugin Contributions:
0

Change colour of standard template

I am happy with the layout of the standard green template but could someone please tell me how to change the green boxes to say navy blue. Get rid of the banner and replace with my company logo. I understand that I need to create a custom directory and copy the standard template files into it. What I'm struggling with is which variables to change in the css to change the colour of the green boxes.

Thanks in advance if anyone can help.

J

19 Apr 2007, 2:09 PM
#2
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: Change colour of standard template

HI! jwball!

The classic green template uses tile_back.gif for a background for sidebox,
centerbox headers, etc. You could create your own (11wx30h), name it the same, and upload to your custom template images folder. Or you could delete instances of background-image: url(../images/tile_back.gif); (in blue below)
from your stylesheet, and use the background color (in red below).

.leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
margin: 0em;
background-color: #abbbd3;
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;
}

19 Apr 2007, 7:44 PM
#3
afo avatar

afo

Totally Zenned

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

Re: Change colour of standard template

Create your own template folders. Don't edit the files that came with ZC or your changes will be overwritten with updates/upgrades.

To create a very basic custom template (you can build from there), you need:
includes/languages/YOUR_TEMPLATE/english.php
includes/languages/english/YOUR_TEMPLATE/index.php
includes/languages/english/YOUR_TEMPLATE/header.php (to change the logo)
includes/templates/YOUR_TEMPLATE/template_info.php
includes/templates/YOUR_TEMPLATE/common/tpl_header.php
includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
includes/templates/YOUR_TEMPLATE/images/logo.gif
includes/templates/YOUR_TEMPLATE/css/stylesheet.css

Anywhere you see a /classic/ folder, you can create a folder for your custom template. You can copy the necessary files from either the /classic/ folder, the /template_default/ folder or the parent folder.

If you don't want to create your own "tile back" image, you can just remove it from the stylesheet and change the background color to suit your needs.

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