Results 1 to 6 of 6
  1. #1
    Join Date
    May 2010
    Posts
    32
    Plugin Contributions
    0

    Default remove border around around images (not image border)

    As illustrated in the attached image of a Gift Cert, there is a border around product items on the site which I wish to get rid of.

    I've spent more than a day investigating by, eyeballing the CSS, using Firebug and Developer, and searching the forums and faq but cannot pass my hurdle.

    The border appears in the a:active, a:hover(in a different colour which is the same as the text link below it) and a:visited states

    It looks like I may have to break it apart from the text link (which says, "larger image") but, I'm not certain about this and, if so, how?

    I believe from the hover colour(teal) that it's at the least, referencing one of the following but I'm not certain of this either (I'm going on the colour because as mentioned, the link colour is the same as the border's hover colour):


    a:hover {
    color:#08B3B5;
    text-decoration:none; }


    #navMainWrapper a:hover {
    color: #08B3B5; }


    #navEZPagesTop a:hover {
    color: #08B3B5; }


    I've no clue about the border colour in active and visited states but would like to just get rid of any border by changing the colour to #ffffff. What in the CSS do I need to change?

    Thanks,
    Attached Images Attached Images  
    Last edited by Otha; 6 Aug 2010 at 12:30 AM. Reason: clarification
    May the Zen be with you ~Otha

  2. #2
    Join Date
    May 2010
    Posts
    32
    Plugin Contributions
    0

    Default Re: remove border around around images (not image border)

    Was the description of my problem, above, to convoluted? Am I way off somewhere? This thing is driving me crazy. I've been trying for a few days to figure out how to get rid of that border around images (as in attachd). If I've been too muddle mouthed, please let me know so I can attempt another description of the problem. I'd really appreciate some help on this.

    Thanks..
    May the Zen be with you ~Otha

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

    Default Re: remove border around around images (not image border)

    Your description of the problem is fine. As you said, you've been using Firebug and Web Developer to try to figure out where it's coming from. That's exactly what we'd do, but you have a link to the site and we don't.

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

    Default Re: remove border around around images (not image border)

    That's not really a Zencart question. You'll see those dotted borders on anchors (<a>) on most sites. The idea was that users would know when a link was 'active' and the border doesn't stay long if you actually click on the image.

    Anyway, if you add this to your stylesheet, they should go away.

    a {
    outline: none;
    }

  5. #5
    Join Date
    May 2010
    Posts
    32
    Plugin Contributions
    0

    Default Re: remove border around around images (not image border)

    Thank you Steve,

    That worked perfectly
    May the Zen be with you ~Otha

  6. #6
    Join Date
    May 2008
    Location
    Ventura Co.
    Posts
    82
    Plugin Contributions
    1

    Default Re: remove border around around images (not image border)

    Outstanding!

 

 

Similar Threads

  1. Remove border around product image
    By metaus in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Jul 2012, 12:57 PM
  2. adding border to images in reviews sidebox, but NOT around stars
    By koenvandamme in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Mar 2009, 10:09 AM
  3. how to remove blue border around my images?
    By YZ250 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Mar 2009, 07:50 AM
  4. Trying to remove border around header
    By debtag in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 27 Feb 2008, 07:29 PM

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