Forums / Templates, Stylesheets, Page Layout / Customize template to keep site consistant

Customize template to keep site consistant

Locked

Started by happyworker on 16 Sep 2006, 5:36 PM · Views: 1,924

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
16 Sep 2006, 5:36 PM
#1
happyworker avatar

happyworker

New Zenner

Join Date:
Sep 2006
Posts:
40
Plugin Contributions:
0

Customize template to keep site consistant

Hi Everyone,
I'm new to Zen Cart and have been through the different theads to help me with making my Zen Cart look consistant with a new design.
My new design is here.
My css is here.

How my design in Zen Cart looks, so far, is here.

Notice the green bar at the top in my site design. How would I go about inserting this in it's proper place?
I've tried inserting a background image in the #headerWrapper and the #logoWrapper, but it doesn't want to show up.

Example: #logoWrapper {background:url(includes/templates/custom/images/topborder.gif) no-repeat bottom right; text-align:right;}

I should also point out that I'm using a custom template.
../includes/languages/custom
../includes/languages/english/custom
../includes/template/custom

Any help with this would be appreciated.
Cheers,
Happyworker

16 Sep 2006, 11:35 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Customize template to keep site consistant

Forst to assist in matching the design,,,admin > config > layoutsettings > Categories-Tabs Menu ON/OFF > turn them to off or "0".

to ease this for you if can determine the height & width of your total head area in your design; make a jpg image 800x150px in size with your green bar placed at the bottom and Name it header_bg.jpg and place it in your template custom/images folder

I guessed at the 800x150 dimensions and this should match your design. You might then have to adjust the width of the mainWrapper in the css to match also.

then this in your css will get this image displayed.

#logoWrapper{
    background-image: url(../images/header_bg.jpg);
    background-repeat: no-repeat;
    background-color: #ffffff;
    height:160px;

You can of course make this a gif if you choose

Zen-Venom Get Bitten

17 Sep 2006, 5:20 PM
#3
happyworker avatar

happyworker

New Zenner

Join Date:
Sep 2006
Posts:
40
Plugin Contributions:
0

Re: Customize template to keep site consistant

Thanks for your help. The Categories-Tab - ON/OFF was a great suggestion.

As for the header, this too was a great suggestion and helped me get what I wanted, however I managed to get my green 'topborder.gif' into the header by giving the #logoWrapper a couple more parameters.

#logoWrapper {height:95px; width:800px; background:url(../images/topborder.gif) no-repeat bottom right;}

Thanks again Kobra,

Happyworker