Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2008
    Posts
    8
    Plugin Contributions
    0

    Default Cart Messing up my layout!

    ACK.. I'm losing my mind. When you add something to the cart and all the way through checkout, my right sidebar goes insane. It expands and distorts the rest of the page. Can someone take a look? Items are all free right now.

    http://www.digiscraplife.com/store

    Any suggestions would be appreciated.

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

    Default Re: Cart Messing up my layout!

    Check the LABEL statements in your style sheet - you have a couple with widths of 11em and 15 em.

  3. #3
    Join Date
    Nov 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: Cart Messing up my layout!

    any suggestions on what they should be? I didn't edit those that's what came with zencart install. Should I try smaller or larger. I'm just getting started in php and am unfamiliar with the em measurement

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

    Default Re: Cart Messing up my layout!

    Find this in your stylesheet:
    Code:
    #headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    	margin: 0em;
    	padding: 0em;
    	width: 720px;
    }
    #cartBoxListWrapper and #cartBoxListWrapper ul are both being defined as 720px wide.
    You need to separate those selectors into two lists, one with the width and one without. Decide which elements you really want to be that wide.

    "em" is a measurement relating to font size. It essentially is a width equivalent to an "m" character in the particular font; for general Zen Cart purposes, the base font is 10px high and an em is 10px - this makes converting between em and px easy. In places where you have different size text, an em may be a different size also. This helps when making page layouts that allow users to display larger fonts for reading without destroying the layout - the whole layout will expand with the text.

  5. #5
    Join Date
    Nov 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: Cart Messing up my layout!

    Bless you you are a GOD!

    Quote Originally Posted by gjh42 View Post
    Find this in your stylesheet:
    Code:
    #headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage, #popupImage {
    	margin: 0em;
    	padding: 0em;
    	width: 720px;
    }
    #cartBoxListWrapper and #cartBoxListWrapper ul are both being defined as 720px wide.
    You need to separate those selectors into two lists, one with the width and one without. Decide which elements you really want to be that wide.

    "em" is a measurement relating to font size. It essentially is a width equivalent to an "m" character in the particular font; for general Zen Cart purposes, the base font is 10px high and an em is 10px - this makes converting between em and px easy. In places where you have different size text, an em may be a different size also. This helps when making page layouts that allow users to display larger fonts for reading without destroying the layout - the whole layout will expand with the text.

 

 

Similar Threads

  1. Creating Sitemap is messing with Zen cart
    By gmrm in forum General Questions
    Replies: 2
    Last Post: 20 Apr 2009, 06:05 PM
  2. Urgent HELP: IE messing the shopping cart layout
    By callingrohit in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 28 Sep 2008, 09:00 PM
  3. HELP! IE messing my layout up. About to go live!
    By crabdance in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 12 Oct 2007, 12:14 PM
  4. Messing with layout, css positioning
    By jake74 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 30 May 2007, 05:18 PM
  5. Oops, broke my cart messing w/ tpl_footer..
    By audradh in forum General Questions
    Replies: 2
    Last Post: 7 Apr 2007, 06:10 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