Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2010
    Posts
    21
    Plugin Contributions
    0

    Default 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!

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,691
    Plugin Contributions
    11

    Default 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.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  3. #3
    Join Date
    Dec 2010
    Posts
    21
    Plugin Contributions
    0

    Default 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.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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.

 

 

Similar Threads

  1. Change back ground colour
    By Andy-C27 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 6 Jan 2014, 06:12 PM
  2. Header back ground color
    By Skullman in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 19 Apr 2013, 08:56 PM
  3. page back ground
    By dadog in forum Customization from the Admin
    Replies: 7
    Last Post: 27 Jun 2010, 09:00 PM
  4. Font color change and back ground.. need some help.
    By in4sit in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 May 2008, 04:37 AM
  5. Red passion back ground change help need it
    By marcelosurf in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 10 Apr 2008, 08:39 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg