Before you ask please READ THIS

Removing photo border

edited October 2014 in Beach Please Posts: 18
I'd just like to remove all the borders from linked & unlinked images. Thanks!

Comments

  • AirAir
    edited October 2014 Posts: 10,970
    Try using this custom CSS:

    .post-media > a > em,
    .post-media > a:hover > em{
    border: none;
    }
    With regards.
    Post edited by Air on
  • Posts: 18
    That doesnt seem to work unfortunately
  • Posts: 18
    Not sure if anything changed with that edit but the result is still the same :/
  • AirAir
    Posts: 10,970
    Then maybe you mean something else. Please show on screen shot what you mean.

    With regards.
  • Posts: 18
    I want to get the borders from all the images on the site off/white/transparent. The code above took the hover affect off blog images on the blog page only.
    New_Capture 50.jpg
    549 x 371 - 41K
  • AirAir
    Posts: 10,970
    OK, so I gave you style for something else:-)
    Try this:
    a img.alignright, a img.alignnone, a img.alignleft, a img.aligncenter, .wp-caption {
    border: none;
    padding: 0;
    }
    With regards.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion