Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2007
    Posts
    13
    Plugin Contributions
    0

    Default lowering mainwrapper

    Hey there everyone,

    Thinking my question is relatively simple, but I'm not seeming to sort it out on my own. I've done about 100 searches on here now and am still at a loss, so figured I would just ask. :)

    Basically what I would like to do, is above the mainwrapper (and below it for that matter), place the equivalent of a <br /> which I believe would need to be done in the css somehow. Having the top of the content just hug the top of my browser is driving me batty, and I can't seem to figure it out.

    I'm using version 1.3.8a if needed.

    [FONT=Verdana]Thanks in advance for any help with this. If I haven't been clear enough please let me know.

    Cheers,

    -Ditch[/FONT]


  2. #2
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: lowering mainwrapper

    Have you tried editing your stylesheet.css and adding a margin???

    for example;

    #mainWrapper {
    margin:10px auto;
    }
    ~Steve~

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,655
    Plugin Contributions
    25

    Default Re: lowering mainwrapper

    Find this
    #navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
    margin:auto;
    }
    and change it to this
    #navColumnOneWrapper, #navColumnTwoWrapper {
    margin:auto;
    }

    #mainWrapper {
    margin: 20px auto;
    }
    Then adjust the figure in red to suit your taste.
    See and test drive Zen Cart's free templates at zencarttemplates.info

    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    Apr 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: lowering mainwrapper

    Thank you much. ;) Going to give those a shot now. I figured it would be a margin thing, but so many times I have messed with those and had everything inside of a container suddenly become unaligned.

    Will post again after testing this out, and thanks again for the superfast responses.

  5. #5
    Join Date
    Apr 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: lowering mainwrapper

    I used your improvised Kuroi, and it worked perfectly.

    I got the exact distance I wanted from the top at 20. I'm wondering though, will that same margin attribute automatically adjust below the footer as well when I begin adding things to the store itself? As in, once the page becomes longer, will it adjust at the bottom as well as the top?

    Thanks a ton guys - Cheers!

 

 

Similar Threads

  1. Help with MainWrapper
    By deesan in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 9 Jan 2009, 02:27 PM
  2. Mainwrapper Problem
    By Ixus in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 11 Oct 2008, 03:04 PM
  3. mainWrapper Selector in CSS
    By Jigs in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Aug 2008, 10:57 PM
  4. MainWrapper
    By Haart in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Aug 2006, 09:53 PM

Bookmarks

Posting Permissions

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