WordPress.org

Ready to get started?Download WordPress

Forums

removing the default border on photos (6 posts)

  1. adell50
    Member
    Posted 4 years ago #

    I would like to remove the default (and all, for that matter) border that appears around photos when posting within my blog.

    My Site can be found at blog.internetce.com

    Any one have any ideas?

    Many thanks!!

  2. edlee
    Member
    Posted 4 years ago #

    Have a look to style.css and search for the tag "img". Make sure the css looks like :
    img{
    border:none;
    }
    (or border:0px; I don't remember)

  3. Shane G
    Member
    Posted 4 years ago #

    Hi,

    I agree with edlee and to resolve your image border problem you have to edit the style.css file of your theme and set the border value for image tag to none.

    Thanks,

    Shane G.

  4. adell50
    Member
    Posted 4 years ago #

    many thanks!

  5. adell50
    Member
    Posted 4 years ago #

    it worked!!!

    You can see the nice effect it gives on my blog

  6. Jose B
    Member
    Posted 4 years ago #

    What if I just want to remove the border of one or two images. It wouldn't be efficient to remove the border of all the images in the CSS. Is there a way to remove the border of any image while leaving the other images alone? I know CSS pretty well, but I can't find a solution for this.

    This is an issue that has been haunting me (and a few other WordPress users from the looks of it on the forums) for a long time, and I would really appreciate if someone . Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic