If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / Changing Color in Template

Changing Color in Template

Locked

Started by nancyok on 13 Aug 2006, 5:18 PM · Views: 2,574

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
13 Aug 2006, 5:18 PM
#1
nancyok avatar

nancyok

New Zenner

Join Date:
Aug 2006
Posts:
89
Plugin Contributions:
0

Changing Color in Template

I'm new to Zen Cart. I've been trying to figure out how I change the color of brown on the classic template to blue. I know html so didn't know if there was a code that I need to look for to edit. Changed all the colors on the template except for the brown. Using 1.3.0.1. Also read that I should be using template_default instead of classic. The default template is not in the template section. Anyone know how I can correct that? Thank you in advance for any help you may give.:dontgetit

13 Aug 2006, 5:57 PM
#2
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Changing Color in Template

Welcome to Zen Cart Nancy
I think that brown thing is obtained using the image
/images/tile_back.jpg

Anyways, look in this file
includes\templates\classic\css\stylesheet_original.css
for leftboxheading etc

TR.leftboxheading, TR.rightboxheading, TR.centerboxheading, TR.singleboxheading {
background: #aaaad3;
/background: #abbbd3;/
/background-image: url(../images/tile_back.jpg);/
}

and try changing

Let us know if it works
I will take you more from there as to what to do
San

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

13 Aug 2006, 6:30 PM
#3
nancyok avatar

nancyok

New Zenner

Join Date:
Aug 2006
Posts:
89
Plugin Contributions:
0

Re: Changing Color in Template

superprg:

Welcome to Zen Cart Nancy
I think that brown thing is obtained using the image
/images/tile_back.jpg

Anyways, look in this file
includes\templates\classic\css\stylesheet_original.css
for leftboxheading etc

TR.leftboxheading, TR.rightboxheading, TR.centerboxheading, TR.singleboxheading {
background: #aaaad3;
/background: #abbbd3;/
/background-image: url(../images/tile_back.jpg);/
}

and try changing

Let us know if it works
I will take you more from there as to what to do
San

Thank you for your help. The brown/orange was a jpg. Do you know how I can add my own jpg file between where it says Home and Categories? Wanting to add my site name in jpg format.

13 Aug 2006, 6:41 PM
#4
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Changing Color in Template

For that you have to see this file
includes\templates\classic\css\stylesheet_original.css

TABLE.header {
background-image: url(../images/header_bg.jpg);
background-repeat: repeat-x;
background-color: #ffffff;
border-right: 1px solid #9a9a9a;
border-left: 1px solid #9a9a9a;
border-bottom: 1px solid #9a9a9a;
}

Add your own header_bg.jpg

And for logo:
in the file
includes\languages\english\header.php

define('HEADER_LOGO_IMAGE', 'logo.gif');

There is a better way of doing the same thing which I will mention in my next post

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

13 Aug 2006, 6:49 PM
#5
nancyok avatar

nancyok

New Zenner

Join Date:
Aug 2006
Posts:
89
Plugin Contributions:
0

Re: Changing Color in Template

superprg:

For that you have to see this file
includes\templates\classic\css\stylesheet_original.css

TABLE.header {
background-image: url(../images/header_bg.jpg);
background-repeat: repeat-x;
background-color: #ffffff;
border-right: 1px solid #9a9a9a;
border-left: 1px solid #9a9a9a;
border-bottom: 1px solid #9a9a9a;
}

Add your own header_bg.jpg

And for logo:
in the file
includes\languages\english\header.php

define('HEADER_LOGO_IMAGE', 'logo.gif');

There is a better way of doing the same thing which I will mention in my next post

I did the above already but it's doing a repeat. Tried to fix the repeat on jpg and didn't work. Looking forward to your next post for a better way. Thank you.

13 Aug 2006, 7:29 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changing Color in Template

Depending on the blue that you desire...there are 2 beginning templates that are blue in shade(actually 1 aqua and 1 blue) in the downloads template section that are "Classic" in looks, and the future Zen template that is blue but different than the classic look.

Zen-Venom Get Bitten

13 Aug 2006, 9:13 PM
#7
nancyok avatar

nancyok

New Zenner

Join Date:
Aug 2006
Posts:
89
Plugin Contributions:
0

Re: Changing Color in Template

kobra:

Depending on the blue that you desire...there are 2 beginning templates that are blue in shade(actually 1 aqua and 1 blue) in the downloads template section that are "Classic" in looks, and the future Zen template that is blue but different than the classic look.

Have a couple more questions if you don't mind :-) I was able to change the brown/orange to a pink except for the middle where the"New Products For August" is. Have any idea where I'm missing the image? Also, I noticed that the shopping cart button is not on the site anymore. It was before I did the editing. I'm positive I didn't delete anything like that. Again.....Thank you for all your help. You've been wonderful. Hoping when these last 2 things are fixed, I'll be home free. LOL

13 Aug 2006, 10:10 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changing Color in Template

Post a url...

Zen-Venom Get Bitten

13 Aug 2006, 10:23 PM
#9
nancyok avatar

nancyok

New Zenner

Join Date:
Aug 2006
Posts:
89
Plugin Contributions:
0

Re: Changing Color in Template

kobra:

Post a url...

http://shop2buyonline.com

13 Aug 2006, 10:37 PM
#10
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Changing Color in Template

Make changes in the calsscenterBoxHeading for 'New Products For August'

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

13 Aug 2006, 10:40 PM
#11
nancyok avatar

nancyok

New Zenner

Join Date:
Aug 2006
Posts:
89
Plugin Contributions:
0

Re: Changing Color in Template

superprg:

Make changes in the calsscenterBoxHeading for 'New Products For August'

This is going to sound stupid, but which folder is that in?

13 Aug 2006, 10:51 PM
#12
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Changing Color in Template

includes\templates\classic\css\stylesheet.css
Again, may not be the best way of doing it

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

13 Aug 2006, 10:51 PM
#13
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changing Color in Template

/includes/templates/classic/*.css files

search the files for tile_back.jpg and this needs to be commented out. Then you can apply the pink color.

Zen-Venom Get Bitten

13 Aug 2006, 11:09 PM
#14
nancyok avatar

nancyok

New Zenner

Join Date:
Aug 2006
Posts:
89
Plugin Contributions:
0

Re: Changing Color in Template

kobra:

/includes/templates/classic/*.css files

search the files for tile_back.jpg and this needs to be commented out. Then you can apply the pink color.

I clicked on the wrong link and my stylesheet_original.css went in the trash. Tried to restore and it didn't do it, then copied it and now everything from templates on seems all messed up. Should I re-install?

13 Aug 2006, 11:17 PM
#15
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changing Color in Template

I would not...this is only a css issue...Now would be a good time to setup your own template and base it on the template default files with only one stylesheet. This is the future path and like I stated now might be a good time so that you do not have a lot invested in your styling.

Zen-Venom Get Bitten

13 Aug 2006, 11:22 PM
#16
nancyok avatar

nancyok

New Zenner

Join Date:
Aug 2006
Posts:
89
Plugin Contributions:
0

Re: Changing Color in Template

kobra:

I would not...this is only a css issue...Now would be a good time to setup your own template and base it on the template default files with only one stylesheet. This is the future path and like I stated now might be a good time so that you do not have a lot invested in your styling.

I have no idea how to set up my own template. Read how you do it, but just didn't understand it.

14 Aug 2006, 2:17 AM
#17
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changing Color in Template

create a folder named ???(custom for this) in includes/templates/custom
Inside /custom create folders named common, images, css, templates,

Now from includes/templates/template_default, ftp to your computer, the /css folder& contents and the file template_info.php.

Open the template_info fil in a text editor find & change to your template name

 */
$template_name = 'place your template  name here';

Now FTP from your pc the file you just edited to includes/templates/custom/template_info.php.
Also FTP the 4 files in includes/templates/template_default/css folder to your /custom/css folder.

In the admin > tools > templates selection you shouuld see the template name that you just created. select it and click update. Now in the admin > tools > layout boxes controller select reset.

Now load your store and see the gawd awful color scheme. But now you are prepared to style and create that special look for your store.

Zen-Venom Get Bitten