Support » Themes and Templates » Remover border from images in twenty eleven

  • Resolved kiwimeg

    (@kiwimeg)


    A border is being added around all the images I upload to my site (using the Twenty Eleven theme).

    I would like to remove it. What do I need to add to my child theme to remove this border?

    Any assistance much appreciated 🙂
    Thanks
    Meg

Viewing 4 replies - 1 through 4 (of 4 total)
  • This should remove them.

    img[class*="align"],
    img[class*="wp-image-"],
    #content .gallery .gallery-icon img {border: none;}

    You are a star Zeaks! Thank you so much for your help 🙂

    I like them around many of the photos, but removed them from the “transparent” images. Manually you can use the advanced edit feature in visual mode. Border = 0

    I am having the same issue – am totally new to WP. Where do I add this?:

    img[class*=”align”],
    img[class*=”wp-image-“],
    #content .gallery .gallery-icon img {border: none;}

    Do I insert this on the page in the html editor? I am also using a child theme of Twentyeleven (at least I did that right!).

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remover border from images in twenty eleven’ is closed to new replies.