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,569
    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.
    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. v155 How to get logo in mainwrapper instead of under mainwrapper
    By aurelius in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Aug 2016, 07:55 PM
  2. mainWrapper
    By Soniccc in forum General Questions
    Replies: 5
    Last Post: 14 Jan 2011, 06:23 PM
  3. Lowering Horizontal Navigation Bar
    By Goldenis in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 13 Dec 2010, 02:26 AM
  4. Lowering Ride Sidebox & Putting "Add to Cart" in it.
    By Fett in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 May 2010, 10:37 PM
  5. 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR