• Resolved j2thaizzo

    (@j2thaizzo)


    I’ve tried every means possible and I can’t figure out how to get rid of the borders around the images on these two pages. No other images on the site contain the border, but these two won’t be rid of it, even though I’ve put the following code in css:

    a, a:link, a:visited {
    outline: none;
    border-style: none;
    }

    img
    { border-style: none;
    }

    Please help!

Viewing 1 replies (of 1 total)
  • Thread Starter j2thaizzo

    (@j2thaizzo)

    Never mind. Figured it out.

    had to get rid of padding around image. If anyone else has the problem, here’s the fix:

    #main_feature img, #home_content img, .post_entry img, #content img, #single img {
    background: #000;
    padding: 0px;
    }

    Padding was set to 1px. Change it to 0px and it worked.

Viewing 1 replies (of 1 total)
  • The topic ‘How do I override an image border?’ is closed to new replies.