Results 1 to 7 of 7
  1. #1
    Join Date
    Jul 2006
    Location
    California
    Posts
    44
    Plugin Contributions
    0

    Default 1 px Border Around Thumbnails

    I have searched the forums and found some info on how to do this but I am thinking maybe the directions are outdated for the ZC v. 1.3.6.. Well if someone could help it would be greatly appreciated.

    using ZC v. 1.3.6

    I am trying to add a white 1 px border around all my product listing thumbnails and the detailed product thumbnails. I would really like to them to appear correctly in both firefox and IE but so far I have not been able to do so...

    can someone steer me in the right direction??
    thanks!!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: 1 px Border Around Thumbnails

    find this at the top of your stylesheet.css file and change to the lower code:
    Code:
    a img {border: none; 
            }
    Code:
    a img {
            border: 1px solid #000000; 
            }
    Style as you wish as allowed by css
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2006
    Location
    California
    Posts
    44
    Plugin Contributions
    0

    Default Re: 1 px Border Around Thumbnails

    thanks kobra,
    I tried that but that puts a border around all images within my site... I just want the border to placed around the thumbnails only. any suggestions?

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: 1 px Border Around Thumbnails

    Find or add
    Code:
    .listingProductImage {
    border: 1px solid #000000;
    }
    and
    Code:
    #productMainImage {
    border: 1px solid #000000;
    }
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jul 2006
    Location
    California
    Posts
    44
    Plugin Contributions
    0

    Default Re: 1 px Border Around Thumbnails

    Kobra, thanks for your replies. I added those to my style sheet and
    they work great for detailed product page and listing pages.

    I'm still trying to get the border around the thumbnails on my start page. Here is the temp url for the site: http://209.85.7.143/~funky/store/index.php

    I have it set so that the new products (12 of them) are listed on the index page.
    Those are the thumbnails that I would like to add the 1 px border to.

    I added the line 1px solid #ffffff line to the style name
    .centerBoxContentsNew but that gave me a border around the product title and and price as well which I don't want.

    anyways appreciate ur help on this!

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: 1 px Border Around Thumbnails

    Find and/or add this to the stylesheet to grab direct control of this
    Code:
    #whatsNew img {
    border: 5px solid #ffffff;
    }
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Jul 2006
    Location
    California
    Posts
    44
    Plugin Contributions
    0

    Default Re: 1 px Border Around Thumbnails

    Kobra thanks!

    worked great.

 

 

Similar Threads

  1. remove border around around images (not image border)
    By Otha in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 23 Aug 2010, 06:03 AM
  2. Is there a way to have thumbnails with a custom border?
    By flarp9a in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 16 Mar 2010, 03:57 AM
  3. Adding border to product thumbnails and large images
    By wgvania in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Jul 2007, 09:36 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