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
    22,010
    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
    22,010
    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. v150 Product Listing Row height how to adjust?
    By oj226 in forum General Questions
    Replies: 2
    Last Post: 5 May 2012, 12:29 AM
  2. defining row height for product listing page
    By bryansummers in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 14 Mar 2011, 11:18 AM
  3. How can I change sub-category product listing row height?
    By enchantart in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Feb 2010, 08:13 PM
  4. 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
  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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR