WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remover border from images in twenty eleven (5 posts)

  1. kiwimeg
    Member
    Posted 3 years ago #

    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

  2. zeaks
    Member
    Posted 3 years ago #

    This should remove them.

    img[class*="align"],
    img[class*="wp-image-"],
    #content .gallery .gallery-icon img {border: none;}
  3. kiwimeg
    Member
    Posted 3 years ago #

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

  4. webkat
    Member
    Posted 2 years ago #

    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

  5. kjgarmon
    Member
    Posted 2 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic