Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Dec 2009
    Posts
    8
    Plugin Contributions
    0

    Default Align two sideboxes

    I have only two left sideboxes: "Categories" and "Info".
    I want "Categories" to stay on top and "Info" always to be aligned on the bottom, which is currently positioned right under "Categories" box.
    How can I do that?

  2. #2
    Join Date
    Dec 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: Align two sideboxes

    Quote Originally Posted by prettywish126 View Post
    go to admin->tools->layout box controller,change the LEFT/RIGHT COLUMN Sort Order.that is all
    Thanks prettywish126, but it's not about order, this is about css alignment of the lower box, which should always be on the bottom of the page, regardless of the page height.

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Align two sideboxes

    You could add a whole bunch of margin-bottom to #categories.

  4. #4
    Join Date
    Dec 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: Align two sideboxes

    Quote Originally Posted by stevesh View Post
    You could add a whole bunch of margin-bottom to #categories.
    I have added the following to the sylesheet.css

    Code:
    #informationContent {vertical-align:bottom;}
    Unfortunately, it doesn't work.

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

    Default Re: Align two sideboxes

    A link to see your site live will let us test and give correct advice instead of guessing.
    Try making
    #navColumnOneWrapper {height: 100%; padding-bottom: 13em;/*adjust to match height of info box*/}
    and
    #information {position: absolute; bottom: 0px;}

    Alternately,
    #navColumnOne {position: relative;}
    #navColumnOneWrapper {padding-bottom: 13em;/*adjust to match height of info box*/}
    and
    #information {position: absolute; bottom: 0px;}
    might work for you.

  6. #6
    Join Date
    Dec 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: Align two sideboxes

    Quote Originally Posted by gjh42 View Post
    A link to see your site live will let us test and give correct advice instead of guessing.
    Try making
    #navColumnOneWrapper {height: 100%; padding-bottom: 13em;/*adjust to match height of info box*/}
    and
    #information {position: absolute; bottom: 0px;}

    Alternately,
    #navColumnOne {position: relative;}
    #navColumnOneWrapper {padding-bottom: 13em;/*adjust to match height of info box*/}
    and
    #information {position: absolute; bottom: 0px;}
    might work for you.
    Neither does work.

    I don't want search engines to crawl the link from here, so I have to split it: http://www.ddautomatisering. com/wink.html
    Just remove the space before the ".com".

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

    Default Re: Align two sideboxes

    I don't see your information sidebox...

    It appears you are displaying your Zen Cart inside an <iframe>. This is a problem, because the checkout will not work this way. It may also be related to other problems - I can't tell because the iframe hides all the source code and CSS.
    Last edited by gjh42; 23 Jan 2010 at 08:03 PM.

  8. #8
    Join Date
    Dec 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: Align two sideboxes

    Quote Originally Posted by gjh42 View Post
    I don't see your information sidebox...

    It appears you are displaying your Zen Cart inside an <iframe>. This is a problem, because the checkout will not work this way. It may also be related to other problems - I can't tell because the iframe hides all the source code and CSS.
    Don't worry about iframe and checkout, it's OK.
    Try this link instead: http://ddautomatisering .com/winkel/index.php?main_page=index&cPath=63_68_1002398

    It's the frame itself. Again remove the space before the ".com".
    Thanks for the replies so far.

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

    Default Re: Align two sideboxes

    The table elements apparently can't use "position: relative;", but #mainWrapper is a div, and as long as the footer is a fixed height, this will work:
    Code:
    #mainWrapper {position: relative;} 
    
    #navColumnOneWrapper { padding-bottom: 13em;}
    
    #information {
        position: absolute;
        bottom:4.0em;
        }

  10. #10
    Join Date
    Dec 2009
    Posts
    8
    Plugin Contributions
    0

    Default Re: Align two sideboxes

    Quote Originally Posted by gjh42 View Post
    The table elements apparently can't use "position: relative;", but #mainWrapper is a div, and as long as the footer is a fixed height, this will work:
    Code:
    #mainWrapper {position: relative;} 
    
    #navColumnOneWrapper { padding-bottom: 13em;}
    
    #information {
        position: absolute;
        bottom:4.0em;
        }
    You got it!
    Well I only had to add 'height:150px;' inside (otherwise it's 100% breaking the top), but that's it.
    Thank you very much and thanks all for your time dealing with this.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to modify css to align horizontally these two items?
    By westdh in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Aug 2012, 02:11 PM
  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. Sideboxes text align problem on some pages
    By thefisherofmen in forum Basic Configuration
    Replies: 4
    Last Post: 19 Mar 2010, 04:15 PM
  4. align manufacturer beside pic, and move two buttons. + Site Critique
    By wolf99 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 8 Dec 2006, 07:37 PM
  5. How to align subcategories in sideboxes?
    By theveed in forum Basic Configuration
    Replies: 2
    Last Post: 31 Jul 2006, 05:25 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