Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jul 2006
    Posts
    14
    Plugin Contributions
    0

    Default Moving the left sideboxes up

    I'd consider myself intermediate with my skills at CSS, but I can't for the life of me find the tag that would allow me to move the left sideboxes up and have the categories box header align with the text in the nav breadcrumb


    Any help would be appreciated

    Link: http://hd.adi-estore.com


    PS- i didn't design the site, just administering the zencart ;)

  2. #2
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Moving the left sideboxes up

    I'm moving my site right now, so I'm working from memory.

    Take the tpl_main_page.php and look at the php tags. Whatever is above the boxes you have to either delete or change the width and float right to give the leftcontainerwrapper the room to move up.

    So if your not going to use the the tabs menu area, you can get rid of it.

    but if you get rid of it then the center column will also move up.

    Make sure you copy that file into your template before you change it. Don't be changing core code or you'll jinx us all. haha

    Good luck!

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

    Default Re: Moving the left sideboxes up

    Here is your problem:
    PHP Code:
    #navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper {
        
    margin30px auto 0 auto;
      
        } 
    You have at some time specified a 30px top margin. Change as you wish.

  4. #4
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: Moving the left sideboxes up

    I am actually trying to do the same thing with my right sideboxes. Just need them moved up 25px to align with the navbar. I know how to change the width of the navbar to what I need, but can't get the sideboxes up.

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

    Default Re: Moving the left sideboxes up

    The difficulty is that the navbar is part of the header and the sidebar is part of #contentMainWrapper. You could theoretically give #navColumnTwo or #navColumnTwoWrapper a margin-top: -25px;, but IE doesn't like that - it apparently believes that no element should be able to stick out of its box.
    Code:
    #navColumnTwo {
        position: relative;
        top: -25px;
        }
    works in Firefox...


    With your site down for maintenance, I can't test it directly.
    I noticed that the link in your name/profile includes a zenid - this is a bad thing... you should prune that.
    Last edited by gjh42; 31 Oct 2007 at 05:23 AM.

  6. #6
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: Moving the left sideboxes up

    he difficulty is that the navbar is part of the header and the sidebar is part of #contentMainWrapper.
    Yeah, that is what I couldn't figure out... I did try the -25px before I posted and you are right in IE didn't like it but it worked fine in FF...as usual..

    ..name/profile.....not sure what you're talking about?

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

    Default Re: Moving the left sideboxes up

    The "visit khopek's homepage" link you get when clicking on your name in a post...

    huh. Now it points to your myspace... not sure exactly where I got that link from.... nevermind!

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

    Default Re: Moving the left sideboxes up

    Whatever I tried worked in Firefox when I tested it earlier, but the code posted above didn't work when I pasted it into the stylesheet of a local fresh install.
    Code:
    #navColumnTwoWrapper {
        position: relative;
        top: -25px;
        }
    does work in Firefox and IE6.

  9. #9
    Join Date
    Nov 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Moving the left sideboxes up

    instead of moving the left and right columns, why not move the breadcrumb down?

    i edited the #navBreadCrumb to include margin-top: 15px;

  10. #10
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: Moving the left sideboxes up

    I bet 10 if this doesn't work ;-)

    Replace your current .leftBoxContainer class with this:

    Code:
    .leftBoxContainer {
    	border: 1px solid #FF0000;
    	margin-top: -2.7em;
    	}
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. moving search function to the center of the page from the sideboxes
    By crexis in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 21 Jul 2013, 01:36 AM
  2. Align sideboxes to the left
    By monkeytastic in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 9 Apr 2010, 11:00 AM
  3. Replies: 5
    Last Post: 1 Oct 2009, 03:32 PM
  4. im not using any left sideboxes i want the middle box to use all the space
    By Flippin1900 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Aug 2008, 07:19 PM
  5. Need help moving all of left hand side sideboxes
    By mtweldon in forum Basic Configuration
    Replies: 8
    Last Post: 30 Apr 2007, 03:19 PM

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