Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2008
    Location
    Canberra, Australia
    Posts
    85
    Plugin Contributions
    0

    Default how to remove blue border around my images?

    how do I remove or change the blue border that is around my images?

    www.sgtpepper.com.au/store

    thanks in advance.

    Brendan

  2. #2
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,068
    Plugin Contributions
    0

    Default Re: how to remove blue border around my images

    Quote Originally Posted by YZ250 View Post
    how do I remove or change the blue border that is around my images?

    www.sgtpepper.com.au/store

    thanks in advance.

    Brendan
    Yz,
    Find this:
    includes/templates/pepperstyle/css/stylesheet.css

    a:link, #navEZPagesTOC ul li a {stylesheet.css (line 19)
    color:#000000;
    text-decoration:none;
    }


    1. The red font above is the fix
    2. But it is not blue it is black
    3. Or maybe you already found the fix:
    Mark
    Hare Do - Does the rabbit beat Zen "never".
    Zen Cart 1.5.1 Update Release Need help Purchase the Book

  3. #3
    Join Date
    Dec 2008
    Location
    Canberra, Australia
    Posts
    85
    Plugin Contributions
    0

    Default Re: how to remove blue border around my images

    Thanks haredo. Ill have a crack at that when I get home from work!

    Brendan

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,981
    Plugin Contributions
    25

    Default Re: how to remove blue border around my images

    Add to your stylesheet

    a img {border: none;}

    This is in the standard Zen Cart stylesheet; it has been removed from your template's stylesheet.

  5. #5
    Join Date
    Dec 2008
    Location
    Canberra, Australia
    Posts
    85
    Plugin Contributions
    0

    Default Re: how to remove blue border around my images?

    Thanks GJH42, that worked like a charm.

    I just stuck it in line 35 of my style sheet...is that ok? Is there a right and a wrong way of adding new styles to a style sheet?

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    20,981
    Plugin Contributions
    25

    Default Re: how to remove blue border around my images?

    It would be good practice to first search the stylesheet to see if one of the selectors you are adding is already listed; if so, keeping related rules together will make it easier for you to maintain the stylesheet.

    Generic rules like
    a img {what: ever;}
    should go before specific rules like
    #categories a img {what: ever;}
    so the specific ones are not overridden by the generic case.

    Some people put all of their new rules at the end of the stylesheet.

    In the end, whatever functions correctly and is easy for you to maintain is "right"... unless you are working in a corporate or other environment where somebody else may have to work on the code. In that case, following defined standards becomes very important.

 

 

Similar Threads

  1. Removing blue border around buttons
    By aushorse in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Apr 2008, 04:52 AM
  2. Made logo to Image map; now white space and blue border.
    By HeathenMagic in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 30 Dec 2007, 07:23 PM
  3. How do I remove the blue box around my logo?
    By canemasters in forum General Questions
    Replies: 1
    Last Post: 16 Apr 2007, 05:21 PM
  4. How do I remove the blue box around my logo?
    By canemasters in forum General Questions
    Replies: 0
    Last Post: 16 Apr 2007, 05:03 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
  •