Support » Themes and Templates » Can't remove border around images inserted into posts

  • Resolved brittanylynn01


    When I interest an image into a post, a border automatically appears around it and I cannot figure out how to remove it. I’ve tried numerous suggestions from other Topics but none work for me.

    I was looking through the CSS template and I think I have to change something in here

    [CSS moderated, Please just post a link to a page demonstrating the problem.]

    not sure if i am right.

    Thanks in advance

Viewing 6 replies - 1 through 6 (of 6 total)
  • esmi


    Try using Firefox with the Firebug add-on for this kind of CSS work.



    Trying adding this into your custom CSS or child-theme CSS; or if you have Jetpack installed, go to Appearance –> Edit CSS:

    #content img, #content p img { padding: 0px; }



    Is it one of those borders that IE used to put on? If so just put this in your css,




    Forum Moderator

    It’s not a border — as noted above by Digilodger, it’s padding.

    @brittany – hopefully you are making any changes in a custom CSS option? It’s generally not a good idea to modify theme files as the changes will be erased when the theme is updated.



    @wpyogi – yes I made a Child Theme




    I tried what you suggested and it worked.

    Thanks all for your help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can't remove border around images inserted into posts’ is closed to new replies.