How to remove image border with hyperlink

Viewing 3 posts - 1 through 3 (of 3 total)
  • #12049
    HDDimensions
    Participant

    When setting the attribute of an image with href a border displays around the image and so far nothing has been found to remove this, even setting the CSS style to none or 0. This is a big problem because PNG images are used for navigation. Any suggestions would be a big help!

    #12068
    Alexander
    Participant

    Hi HDDimensions,

    to remove the border around an image try:

    .entry-content a img, #attachment-nav a img {
    border: none;
    }

    AND

    .entry-content a:hover img, #attachment-nav a:hover img {
    background: #F0F0F0;
    }

    Cheers,
    Alexander @ http://www.mouseclick.com

    #20816
    devonmeadows
    Participant

    I would also like to remove the border and background from my image but I am using enlightenment theme. Check the RED Camera image on my homescreen… http://littl.club. I tried adding the above to my custom css section in my theme settings but I’m assuming the variables are different. Can you help? Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.