Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Location
    Michigan, USA
    Posts
    12
    Plugin Contributions
    0

    Default Customizing the shopping cart layout

    I hope this turns out to be a silly question, but I can't seem to find where to define the row height of my shopping cart table. I've tried defining the height in my shopping_cart_default override file, defining via the css, basically everything I can think of.

    The site is currently in sandbox, but it's http://minionsofcreativity.com/sb/therapy/

  2. #2
    Join Date
    Oct 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Customizing the shopping cart layout

    Try adding this to your stylesheet:

    tr.rowEven{line-height:40px;}
    tr.rowOdd{line-height:40px;}

  3. #3
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Customizing the shopping cart layout

    The default stylesheet defines those without the 'tr' part. Not sure why you'd need that. Here they are, from the current default stylesheet...

    Code:
    .rowOdd {
    	background-color: #E8E8E8;
    	height: 1.5em;
    	vertical-align: top;
    	}
    
    .rowEven {
    	background-color: #F0F0F0;
    	height: 1.5em;
    	vertical-align: top;
    	}
    You have...
    Code:
    .rowOdd {
    	background-color: #fddcfa;
    	vertical-align: top;
    	}
    
    .rowEven {
    	background-color: #ffffff;
    	vertical-align: top;
    	}
    So just add a height definition to each of those and you'll be fine.

    Rob

  4. #4
    Join Date
    Nov 2008
    Location
    Michigan, USA
    Posts
    12
    Plugin Contributions
    0

    Default Re: Customizing the shopping cart layout

    Thank you for the responses. The rowOdd & rowEven definitions were one of the first things I tried, and I tried again but something is keeping my row height the same.

    I took out all the bottom paddings and margins, which helped from where I started, but I can't get the rows any shorter. I like them where they're at, but this is a customer request

  5. #5
    Join Date
    Oct 2007
    Posts
    39
    Plugin Contributions
    0

    Default Re: Customizing the shopping cart layout

    If you want a quick fix, you can add this to the bottom of your stylesheet. Its probably not the best way to get the rows shorter, but at least it seems to work (have not checked IE but it works in firefox).

    tr.rowEven{line-height:1px;}
    tr.rowOdd{line-height:1px;}

  6. #6
    Join Date
    Nov 2008
    Location
    Michigan, USA
    Posts
    12
    Plugin Contributions
    0

    Default Re: Customizing the shopping cart layout

    Perfect in FF, thank you antpez! Now I better go browser testing!

 

 

Similar Threads

  1. v150 Customizing Shopping Cart Sidebox, Sub Total, Vat and Layout
    By mattk251285 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 25 Feb 2013, 04:46 PM
  2. Customizing shopping cart boxes, add to cart button, etc.
    By eberrios in forum General Questions
    Replies: 3
    Last Post: 22 Aug 2010, 11:18 PM
  3. 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
  4. customizing the shopping cart
    By suman07 in forum General Questions
    Replies: 4
    Last Post: 14 Dec 2007, 01:15 PM
  5. Can I change the Shopping Cart Pages Layout?
    By lorrie in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Nov 2007, 09:50 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