Results 1 to 10 of 10
  1. #1
    Join Date
    Aug 2009
    Posts
    31
    Plugin Contributions
    0

    Default border for product listing

    Hi all,

    i want to add a border around each product under my product listing. I am using column display and did a mod to make it show in grid. i tried adding the following css codes:

    .productListing-data img {
    border: 1px solid #000000
    }

    this did nothing and

    .listingProductImage {
    border: 5px solid #4d4d4d
    }

    which only bordered the image and not price/description

    anyone please help me!! thanks~ i need the grid to show in fix dimension, every grid 1 product

  2. #2

    Default Re: border for product listing

    Quote Originally Posted by starry89 View Post
    Hi all,

    i want to add a border around each product under my product listing. I am using column display and did a mod to make it show in grid. i tried adding the following css codes:

    .productListing-data img {
    border: 1px solid #000000
    }

    this did nothing and

    .listingProductImage {
    border: 5px solid #4d4d4d
    }

    which only bordered the image and not price/description

    anyone please help me!! thanks~ i need the grid to show in fix dimension, every grid 1 product
    Hey i was about to ask almost the same question!
    hope someone will help. Thanks

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

    Default Re: border for product listing

    Something like this should get you started:

    .centerBoxContentsProducts {
    border:1px solid;
    }

  4. #4
    Join Date
    Aug 2009
    Posts
    31
    Plugin Contributions
    0

    Default Re: border for product listing

    wonderful mate!! thanks alot for your help! =DDDDDDDDD

  5. #5

    Default Re: border for product listing

    thanks!

  6. #6
    Join Date
    Aug 2009
    Posts
    31
    Plugin Contributions
    0

    Default Re: border for product listing

    hi there,

    now that my store got a border already, however when i add more products in, i notice that different sizes of image actually affects the layout, IE bigger image will generate a bigger border.

    are there solutions for this? can i use image handler to solve tis problem?

    thanks

  7. #7
    Join Date
    May 2009
    Posts
    155
    Plugin Contributions
    0

    Default Re: border for product listing

    Quote Originally Posted by stevesh View Post
    Something like this should get you started:

    .centerBoxContentsProducts {
    border:1px solid;
    }

    Hi - I think this is what I need also as my product spacing when you click on the category does not make things looks too clear i.e. is the add to cart box for thr product image above or below? I know but customers may not without scrolling and checking. A box around the product image/price/code/add to cart button would be great, but if this is what this code does which page do I add it on?
    thx

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

    Default Re: border for product listing

    The statement would be added to your stylesheet.css file.

    If you'll post a link to your site, we may have other recommendations.

  9. #9
    Join Date
    May 2009
    Posts
    155
    Plugin Contributions
    0

    Default Re: border for product listing

    Thanks - I worked out to add it to css sheet (mainly due to husband saying duh it goes in the stylesheet), but this creates a large box around everything as well as all the blank space either side of the product listing - is there a way to create a box just around the image/add to cart/price etc? e.g. adjusting the overalll size of the box so its more or less only as wide as the image?

    As you can see from screenshot below its hard to tell which product the Add to Cart refers to and my husband who normally deals with all php and css stuff cannot work out how remove the extra spaces between price, product name, add to cart box etc so that they are all directly underneath each other under the relevant image (as the bottom image shows). Failing that some spaces after the add to cart box or a box around the image and related info should make it clearer which price/add to cart box relates to which product and would generally make it look neater. I checked in my zencart manual and searched forum but cant work this out. Any help appreciated.

    As it is now:


    In an ideal world:

  10. #10
    Join Date
    May 2009
    Posts
    155
    Plugin Contributions
    0

    Default Re: border for product listing

    Sorry, cant edit previous post.

    The box around the product details I was refering to was something along the lines of this: http://templates.entheosweb.com/temp.../13655-z-b.jpg or this: http://www.hosting22.com/site/upload...0257108osc.jpg
    But it would still be in columns instead of rows as these websites have (I have no connection with these sites but they give an idea of what I am trying to do. The first example with the bevelled edge etc would be perfect if it can be done (these were found under search for zencart shops so looks like it is possible).

 

 

Similar Threads

  1. Product Listing Image border
    By joemind in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Jul 2009, 03:05 AM
  2. Product Listing Border
    By neighbornick in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 8 May 2009, 12:42 AM
  3. Product Listing Border
    By MoreMana in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 25 Feb 2009, 05:33 PM
  4. Product Listing Border
    By voltage in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 19 Jun 2006, 01:35 AM
  5. Border on product-listing in column
    By raimond in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 May 2006, 11:22 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