Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2008
    Location
    Ann Arbor, MI
    Posts
    21
    Plugin Contributions
    0

    help question Can't get padding to work on product listing

    Hello,

    On my product listing page, I am trying to add some padding in between each product so that is more clear which price and button belong to which product.

    I added:
    .productListing-odd, .product-Listing-even {
    padding-bottom: 20px;
    }
    to my stylesheet, and in Firebug I can see that it IS applying the padding, but for some reason it is also allowing the next item to start within the padding area instead of moving it down. I also tried margin to no avail.

    All I want is more space between the items. I have search the stylesheet to see if something else might be affecting this, but I must be missing something.

    Link to my page in question:
    http://www.harmonyyogaannarbor.com/z...=index&cPath=3

    You can look at this without having to log in... thanks!

    Karen

  2. #2
    Join Date
    Aug 2005
    Posts
    26,047
    Plugin Contributions
    9

    Default Re: Can't get padding to work on product listing

    Try this and adjust to suit
    Code:
    .productListing-data {
    padding-bottom: 5em;
    }
    Zen-Venom Get Bitten
    Get Your Business Found

  3. #3
    Join Date
    Feb 2008
    Location
    Ann Arbor, MI
    Posts
    21
    Plugin Contributions
    0

    Default Re: Can't get padding to work on product listing

    Kobra,

    Thank you!

    Now can you explain to me WHY that worked and why what I was trying to do didn't work... you know, just for the betterment of my coding skills...

    Karen

  4. #4
    Join Date
    Aug 2005
    Posts
    26,047
    Plugin Contributions
    9

    Default Re: Can't get padding to work on product listing

    .productListing-odd, .product-Listing-even I think are not used or at least not for this
    Zen-Venom Get Bitten
    Get Your Business Found

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,981
    Plugin Contributions
    25

    Default Re: Can't get padding to work on product listing

    They certainly are there, but ?perhaps due to their being table row elements? they don't respond to margin or padding, even with !important added. You can apply color to them just fine.

 

 

Similar Threads

  1. how do i add padding to my product image?
    By what44 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Nov 2007, 07:25 PM
  2. product listing image padding
    By Ariejester in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Aug 2007, 09:23 AM
  3. Why does this only work in the product listing - CSS puzzle
    By budfox in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Feb 2007, 08:28 AM
  4. price sorting on product listing sometimes not work
    By xingxing in forum General Questions
    Replies: 9
    Last Post: 2 Sep 2006, 03:34 PM

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
  •