Forums / General Questions / Changing Template Colors

Changing Template Colors

Locked

Started by binny25 on 11 Nov 2006, 6:10 AM · Views: 1,670

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
11 Nov 2006, 6:10 AM
#1
binny25 avatar

binny25

New Zenner

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

Changing Template Colors

hello.

i am using the "classic contemporary green" template.

i like the layout of this template.

my site has been up and running with no probs for a few weeks, but i would like to tweak a few things.

some questions:

  • it's almost all green. am i able to (simply) change the colours of the banners, text and so on without too much pain?

  • if i chose a similar-style but different-color-scheme template, can i simply install it over the top?

i would like to do any changes only using the admin options (and not code) if possible.

thanks, matt.

11 Nov 2006, 6:29 AM
#2
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: Changing Template Colors

Yes, it's quite easy to adjust text colors and so forth. The green images will either have to be overwritten with a new color or perhaps tinted in a image program. Unfortunately, you'll have to adjust the text colors via the actual stylesheet.css. I'm thinking you're referring to admin stylesheet control as like perhaps SMF forum program or so forth, no, Zen Cart doesn't currently offer that.

You cannot "overlay" a template on top of another. You must upload a template into the directory on it's own. Following the directory includes/templates, you will note how there are two template folders named "classic" and "template_default". You will put your custom template folder along side of them. A simple method is to make a desktop copy of the green Classic template folder/sub folders. There is one file named 'template_info.php' and you must adjust the template name for Zen Cart to acknowledge the new edition. If you open the noted file in a text editor, find;

$template_name = 'Classic Contemporary Green';

Replace above with;

$template_name = 'Your New Template Name';

Be sure to leave the surrounding quote marks intact.
Then, rename the "classic" template folder to your new template name and re-upload it as a new template base.

You can also upload a contributed template to your liking here;
http://(sorry, site offline)/

11 Nov 2006, 6:44 AM
#3
binny25 avatar

binny25

New Zenner

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

Re: Changing Template Colors

thank you.

11 Nov 2006, 7:10 AM
#4
sketchy avatar

sketchy

Totally Zenned

Join Date:
Aug 2006
Location:
Canada
Posts:
940
Plugin Contributions:
2

Re: Changing Template Colors

You're welcome. If you get stuck, don't hesitate to post back here. :smile: