Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1
    Join Date
    Aug 2007
    Posts
    24
    Plugin Contributions
    0

    Default layout problems with change to sidebox

    Hi guys,

    URL: http://codebluegroup.co.uk/ios/shop/

    I've been developing a new template for Zen Cart with a design given to me for the last week or so, and being completely new to this, I've had the usual problems that I suspect anyone would have.

    The main problem at the moment is one of the sideboxes; as dictated in the layout the 'information' sidebox is further most top sidebox which is stretched across the central column (.centralColumn). I've got the layout looking almost there in Firefox (although something isn't stretching far enough vertically to keep the drop shadows at the side) and in IE, the #navBreadCrumb and .centralColumn aren't moving down into the space below the stretched 'information' sidebox.

    I'm sure this concerns the CSS elements mentioned, can anyone shed any light on this or why the page's background isn't going all the way to the bottom of the page?

    Thanks in advance

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: layout problems with change to sidebox

    Your column widths are not matching the contained box widths and you do appear to be using the right column but it still is rendering as a div/table

    try setting these in the admin

    admin > config > layout settings > Column Width - Left > to match your > Column Width - Left Boxes

    and try turning off the right column

    admin > config > layout settings > Column Right Status - Global

    See what happens
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Aug 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: layout problems with change to sidebox

    Thanks for the reply kobra, I've tried adjusting those settings in the admin section, and they haven't changed much, except I no longer have to use the 'left: 50px' in the CSS for the breadcrumb and the main content and the bread crumb header is a better size now.

    Its still as messed up as it was in IE though grrrr IE! and I think its the 'top: 180px' which is making the page longer than it should be (with the drop shadows) so hopefully if I can find out how position the main content without using 'top' then I think I should be fine.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: layout problems with change to sidebox

    I think that you have added tables for your dropshadow that are inside the mainwrapper.

    You might look at the home page of this site and how the tables for the drop shadow exist outside of the mainwrapper. FF and IE(quirks) measure these differently and may be your issue
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Aug 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: layout problems with change to sidebox

    They do exist inside mainWrapper, I'll get rid of them for the time being, but until then do you know what's going on with the centralColumn in IE? I've exhausted everything I can think of.

    Thanks for you're continued help btw!

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: layout problems with change to sidebox

    I think that once you remove them it will straighten out - as I am fairly sure this is a realestate issue
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Aug 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: layout problems with change to sidebox

    They're out and it's still doing the same in IE... should I be using absolute or relative positioning (if any) for the .centralColumn ?

    or is this something to do with the single column aspect of the admin > tools > layout boxes controller ?
    Last edited by mikeeeeeeey; 17 Sep 2007 at 02:49 PM.

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: layout problems with change to sidebox

    relative to the containing div should be sufficient

    You should have the items as left column??

    Did you set this to be single and code around it?
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Aug 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: layout problems with change to sidebox

    If its single or left it doesn't change the way it looks in either browser.
    The div's are all relative, I just don't understand why the content won't slide underneath the header. This is so confusing!

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: layout problems with change to sidebox

    Just noticed that you seem to be missing mainWrapper div from your view source Normally it is like this:
    Code:
    <div id="mainWrapper">
    
    <table width="100&#37;" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper">
      <tr>
    Yours looks like this:
    Code:
    <table width="100%" border="0" cellspacing="0" cellpadding="0" id="contentMainWrapper">
      <tr>
    Check your files and most probably tpl_main_page.php

    So you have no containing div
    Zen-Venom Get Bitten

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Layout problems after change of default template width.
    By pol-uk in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Mar 2010, 11:04 PM
  2. help sidebox problems cannot edit in layout controller
    By Beefy1986 in forum Basic Configuration
    Replies: 0
    Last Post: 10 Sep 2007, 04:14 PM
  3. problems with page layout
    By paddy_uk2007 in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 26 Aug 2007, 04:11 PM
  4. New Product Sidebox layout change
    By cymfishing in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 Mar 2007, 11:23 PM
  5. layout problems with CSS
    By styledata in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 20 Jun 2006, 04:32 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