Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / help with back ground sahdows

help with back ground sahdows

Locked

Views: 634

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
18 Dec 2010, 6:41 PM
#1
kamullis avatar

kamullis

New Zenner

Join Date:
Dec 2010
Posts:
21
Plugin Contributions:
0

help with back ground sahdows

hi!

i'm new to zen cart and need a little help implementing my design.

here it is so far: http://katrinalapenne.com/zen_shop/

so what i need help with is that i am try to put gradiated shadows at both sides of the browser window that wil stay attached to the browser edges when the browser resizes. so that it looks like the jpg i have attached

so i created 2 173x1 px png's and then made 2 div wrappers that i put just inside the <body> </body> tags of the tpl_main_page.php file in the new template that i created. then i created id classes for the divs that look like this

#bdShadowL {

width:100%;
height:100%;
background-image:url(../images/bd_shadow_left.png);
left:0px;
background-repeat:repeat-y;

}

#bdShadowR {

width:100%;
height:100%;
background-image:url(../images/bd_shadow_right.png);
right:0px;
background-repeat:repeat-y;

}

i haven't messed with it too much to see why it's not working yet, but before i do that, am i even going about this the right way?

if so then what detail am i missing?

do I need to specify a width and height for the body and html tags?

also i will be making the header look like the design jpg i upploaded. i haven't even started on that yet, but i want there to be a single menu just below the logo heading with all the main menu links there and a drop down menu sub menu for some of the menu items.

are there any pointers that i should be aware of for this?

thanks

i hope every one is having a happy holiday season!

18 Dec 2010, 7:14 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,799
Plugin Contributions:
15

Re: help with back ground sahdows

Not really a zen cart question but more a three-column css question. Google that and remember that the cart would be in the middle div but not listed in the "two" spot.

21 Dec 2010, 5:58 PM
#3
kamullis avatar

kamullis

New Zenner

Join Date:
Dec 2010
Posts:
21
Plugin Contributions:
0

Re: help with back ground sahdows

thanks for the reply. that's not exactly what i'm trying to do. i don't need any content in the left and right sections. it's a single column layout. i am just trying to wrap the mainWrapper in two divs that will contain y-repeating shadows for the right and left side of the browser window. the mainWrapper then has left and right margins set to auto so that it remains centered.

also do you know where i can find some instruction on how to define where page and category links are located. i just want there to be a single menu with drop down categories accross the top of the site.

21 Dec 2010, 6:04 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: help with back ground sahdows

Your left and right "content" is the space to display your backgrounds.

Look in Free Addons for categories-tabs, drop menus, CSS menus, etc. There are several to choose from depending on your exact needs.