Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2008
    Location
    Ann Arbor, MI
    Posts
    26
    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
    Location
    Arizona
    Posts
    27,755
    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

  3. #3
    Join Date
    Feb 2008
    Location
    Ann Arbor, MI
    Posts
    26
    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
    Location
    Arizona
    Posts
    27,755
    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

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    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. v151 Can't get multiple images in product to work
    By attroll in forum General Questions
    Replies: 10
    Last Post: 7 Mar 2014, 11:11 PM
  2. v139h How can i get this layout in product listing?
    By Emily1972 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Jun 2012, 01:42 PM
  3. Can't get Manufacturer to show up in Product Listing page
    By KismetDesign in forum General Questions
    Replies: 2
    Last Post: 6 Oct 2009, 08:25 PM
  4. Can't get Wimpy Player to work in Product Descriptions
    By TraderDan in forum General Questions
    Replies: 4
    Last Post: 6 Jul 2009, 06:59 AM
  5. Product Images Randomly Disappeared - Now can't get them to work at all
    By charlestonrelics in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 30 Aug 2007, 02:49 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