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

  • Resolved brittanylynn01

    (@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
    billsbackyardwildlife.com

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

    (@esmi)

    Try using Firefox with the Firebug add-on for this kind of CSS work.
    http://getfirebug.com/

    Digilodger

    (@digilodger)

    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; }

    charlyanderson

    (@charlyanderson)

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

    img{border:none;}

    WPyogi

    (@wpyogi)

    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.

    brittanylynn01

    (@brittanylynn01)

    @wpyogi – yes I made a Child Theme

    brittanylynn01

    (@brittanylynn01)

    @digilodger

    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.