Viewing 6 replies - 1 through 6 (of 6 total)
  • add this to the end of style.css of the child theme:

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

    Thread Starter mb studio services

    (@mb-studio-services)

    That didn’t work…

    I placed the code at the bottom of my child theme like you said. It didn’t remove the image border, I also clicked on the post to see if it removed the border on the image there and it was there as well.

    Also
    I am using firefox v5.0.1 on a Mac OS platform

    whatever editor you are using to make the edits, has wrongly converted the double quotes into html character entities:

    that is what is in your style.css:

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

    this how it should look like:

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

    Thread Starter mb studio services

    (@mb-studio-services)

    Thank you, that worked, I am using the editor built into wordpress 3.2.1

    I removed the page titles and am trying to insert an image in place of the text. Then I tried to remove the image border by inserting:

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

    under /*image borders*/

    Have I inserted your code in the wrong place on my child Style.css? Could you please help?

    The url is: http://www.designact.com/blog/cats

    Thanks so much.

    Please post your own topic.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How do I remove image borders in posts in twentyeleven’ is closed to new replies.