Thread: Product Style

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jan 2009
    Location
    Sask, Canada.
    Posts
    44
    Plugin Contributions
    0

    Default Product Style

    Can someone please tell me what I would have to add to my stylesheet to get the products to have a nice border around them like at this zen cart shop: http://www.zen-cafe.com/store/index....=index&cPath=9

    I have searched in the tutorials and on google but I can't find any information on how to do this.

    It is probably somewhere but I dont know what key words to search for because im new to this stuff.

    Thanks,

    Jordin

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,157
    Plugin Contributions
    11

    Default Re: Product Style

    A whole bunch of div's, a lot of images, and a lot of css add-ons.

    Get firefox with the firebug add-on. Use the Inspect in firebug to see what they did.

    Personally, I would have used a background image if the space is static in size.

  3. #3
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

  4. #4
    Join Date
    Jan 2009
    Location
    Sask, Canada.
    Posts
    44
    Plugin Contributions
    0

    Default Re: Product Style

    Sorry, I think I might have asked for the wrong thing.

    What I want to do is add borders like they have done at http://www.zen-cafe.com/store/index....=index&cPath=9 to the products on my site HERE

    See how there is no style to the products on my site and the product pictures touch each other. I would like to add a border around each product so it looks more professional.

    What would I have to add to the stylesheet to do that?
    Last edited by Jordin; 27 Feb 2009 at 01:03 AM.

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,157
    Plugin Contributions
    11

    Default Re: Product Style

    If all you want is spacing, add the following to the bottom of your includes/templates/PRU_Unique/css/stylesheet.css.

    #productListing-odd, #productListing-even {
    margin-top: 5px;
    }

    Adjust the 5px as needed.

  6. #6
    Join Date
    Jan 2009
    Location
    Sask, Canada.
    Posts
    44
    Plugin Contributions
    0

    Default Re: Product Style

    I added that to my style sheet like you said but it doesn't change anything. Do you have any idea why this wont work for me?

    Thanks,

    Jordin

  7. #7
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Product Style

    well, those are classes and not div id's
    so should be like this

    .productListing-odd, .productListing-even {
    margin-top: 5px;
    }

  8. #8
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Product Style

    I guess is better off to use the following code in your stylesheet .


    .productListing-data{
    padding-bottom: 0.3em;
    }

    this should give space between your listings

  9. #9
    Join Date
    Jan 2009
    Location
    Sask, Canada.
    Posts
    44
    Plugin Contributions
    0

    Default Re: Product Style

    Your help is very much appreciated. That worked perfect!

    Could you tell me what I would have to add in the stylesheet to make a simple 1px border around the products also.

    Many Thanks,

    Jordin

  10. #10
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Product Style

    .productListing-odd, .productListing-even {
    border: 1px solid #aabbcc;
    margin-top: 5px;
    }

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Product Info Style
    By dddmx3 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Feb 2011, 07:04 AM
  2. Changing text style using CSS to override the H1 style
    By NBordeau in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 May 2010, 02:19 PM
  3. Product description style...
    By jenzi in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 21 Sep 2009, 10:51 PM
  4. How do I change the Product Title style on my product page?
    By dissimilation in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Jul 2008, 11:23 AM
  5. Product listing - image style
    By marknew in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 7 May 2007, 10:37 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