Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2008
    Posts
    17
    Plugin Contributions
    0

    Default Adding blank lines between listings

    Hi-
    I'm using v1.3.9
    http://www.feed-back.com/shop

    I'm wondering if there's a way to add a blank line between product listings on my all products and new products pages. As it is, the thumbnail images are all touching, giving a rather strange look.
    Thanks,
    Dana

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Adding blank lines between listings

    You could do something like this in the stylesheet:

    .productListing-data {border-bottom: 1px solid; padding: 1em 0 1em 0;]

    or use this for more options:

    http://www.zen-cart.com/index.php?ma...roducts_id=945

  3. #3
    Join Date
    Jan 2008
    Posts
    17
    Plugin Contributions
    0

    Default Re: Adding blank lines between listings

    Thanks. In thinking this over a little bit more, I'd like our "Market Reports" (under categories) page to look like the "All Products" page which has a horizontal rule between listings. I'm not proficient with PHP so was unable to find where this could be done. I'm a former programmer, though, so if I can see how it's done, I can duplicate the code elsewhere. Unfortunately, as I said, I couldn't find where the formatting was done for the All Products page (which would have been my coding example).
    Thanks again,
    Dana

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Adding blank lines between listings


  5. #5
    Join Date
    Jan 2008
    Posts
    17
    Plugin Contributions
    0

    Default Re: Adding blank lines between listings

    I was looking at your suggestion for adding code to the stylesheet,

    .productListing-data {border-bottom: 1px solid; padding: 1em 0 1em 0;}

    but I found where the HR definition is described and that's what's apparently used for the All Products and New Products pages. Since I'm not sure which pages the .productListing data affects, I'm afraid I'll get an extra line below the listings on the two pages that already have the HR.

    I would prefer to find where the HR could be added to the "Market Reports" category listing page so that it has the same formatting as the other two pages.

    Thanks for all your suggestions. And my apologies for being such a novice at this. I don't really know much PHP and am something of a beginner at CSS as well (though I have managed to use it to customize our site).
    Dana

  6. #6
    Join Date
    Jan 2008
    Posts
    17
    Plugin Contributions
    0

    Default Re: Adding blank lines between listings

    Hi Steve-
    I finally got around to working on this again and came up with the solution based on your suggestion. This is what finally worked:

    .productListing-data {border-top: 1px solid #9a9a9a; padding: 1.5em 0 1.5em 0;}
    Thanks so much again for your help.
    Dana

 

 

Similar Threads

  1. v139h Adding Blank Spacer Lines between Categories in Category Box
    By toyseller in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 25 Dec 2014, 09:59 PM
  2. Adding space between product listings
    By tsheridan in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Dec 2011, 08:17 PM
  3. lines in between categories?
    By MachaNeko in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 15 May 2008, 03:07 PM
  4. How can I elimate these lines in Index Listings ?
    By milobloom in forum General Questions
    Replies: 0
    Last Post: 6 Feb 2008, 03:40 AM
  5. Blank space between product listings
    By tigergirl in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Aug 2007, 08:07 PM

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