WordPress.org

Support

Support » Themes and Templates » How to remove border around post images

How to remove border around post images

  • I really like this theme, but I would like to remove the grey border around images and smilies in the posts. How would I do this? I did look in stylsheet but could not seem to see where to edit!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Give me a link that I can look at to see your site with this theme running.

    I have dis-abled my site for the time being, but it had a grey border around images and smilies in the images in posts!

    Grey border can be seen around the image on the image in the theme template. It gives a border around all images in posts, and when adding smilies to the post, it gives the smilies a grey border around them. This makes the smilies look horrible!

    Unless I have a site to look at I can’t tell you exactly what CSS element needs to be adjusted.

    Thanks no probs, I am looking through stylsheet now!

    somewhere in your CSS file border value is defined for all the images inside a post. Find that and make it border:none.

    Ok thanks guys I found it in stylesheet and the following bit.

    }
    .postContent img {
    margin: 10px;
    border: 3px solid #ccc;
    }

    Thanks aravindajith

    Looks great now, cheers

    also have similar problem, i want to remove borders around images inserted on post…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to remove border around post images’ is closed to new replies.
Skip to toolbar