Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2010
    Posts
    34
    Plugin Contributions
    0

    Default shrink row height in product listing

    Does anyone know how to make the height of the individual row, within the product listings, any smaller?
    I zeroed the padding, but still have far to much space for height.

    http://erepaircenter.com/index.php?m...ex&cPath=1_2_5

  2. #2
    Join Date
    Feb 2010
    Posts
    154
    Plugin Contributions
    0

    Default Re: shrink row height in product listing

    joshuabaer23,

    If you mean the grey grid in the middle of your page, then the boxes are padded out with lots of <br> tags which you will have to remove.

  3. #3
    Join Date
    Aug 2010
    Posts
    34
    Plugin Contributions
    0

    Default Re: shrink row height in product listing

    Quote Originally Posted by Celtic View Post
    joshuabaer23,

    If you mean the grey grid in the middle of your page, then the boxes are padded out with lots of <br> tags which you will have to remove.
    Yes, the gray box is what Im talking about.
    Where can I start to track down the break tags you are referring to?
    In the stylesheet of the template, I have a padding of 0. But I dont know where to start looking for the breaks your speaking of. I owe you one, if You help me here.

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    21,995
    Plugin Contributions
    25

  5. #5
    Join Date
    Aug 2010
    Posts
    34
    Plugin Contributions
    0

    Default Re: shrink row height in product listing

    Quote Originally Posted by gjh42 View Post
    I attempted adding this to my template/mytemplate/stylesheet :
    .listingDescription+br, .listingDescription+br+br, .listingDescription+br+br+br {display: none;}
    I got nothing. Then I tried this:
    .productListing-data-br, productListing-data-br-br, productListing-data-br-br-br {display: none;)
    And that just messed things up, and put it back how it was.
    So I went to product_listings.php, and fiddled with the <br class="clearBoth" />, without much luck. Do I remove the entire <br class="clearBoth" />, or just part of it. Dont I need this for IE (yuk)?

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    21,995
    Plugin Contributions
    25

    Default Re: shrink row height in product listing

    The + in "a+b" means "the b that immediately follows a". A - is meaningless here.

    Try .productListing-data br+br {display: none;}
    (tested on your site).

    Spelling in CSS must be exactly right or it will not work; ) is not }, and a classname must start with a . .

  7. #7
    Join Date
    Aug 2010
    Posts
    34
    Plugin Contributions
    0

    Default Re: shrink row height in product listing

    Quote Originally Posted by gjh42 View Post
    The + in "a+b" means "the b that immediately follows a". A - is meaningless here.

    Try .productListing-data br+br {display: none;}
    (tested on your site).

    Spelling in CSS must be exactly right or it will not work; ) is not }, and a classname must start with a . .

    You, my friend, are gunna get a drink....maybe 5!
    Thank you very much.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 30 Sep 2009, 09:30 AM
  2. Product Listing Box Height NOT even!!!
    By frontier2002 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Sep 2009, 04:43 PM
  3. How to make fixed row height in product listing?
    By chapagain in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Jan 2009, 04:44 AM
  4. Changing height of image on product listing
    By dreamstudio in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 25 Feb 2008, 07:40 PM
  5. Shrink height of header_bg.jpg
    By jwball in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 23 Apr 2007, 11:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •