WordPress.org

Forums

How to remove border around post images (8 posts)

  1. beeza
    Member
    Posted 5 years ago #

    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!

  2. dpeach
    Member
    Posted 5 years ago #

    Give me a link that I can look at to see your site with this theme running.

  3. beeza
    Member
    Posted 5 years ago #

    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!

  4. dpeach
    Member
    Posted 5 years ago #

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

  5. beeza
    Member
    Posted 5 years ago #

    Thanks no probs, I am looking through stylsheet now!

  6. aravindajith
    Member
    Posted 5 years ago #

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

  7. beeza
    Member
    Posted 5 years ago #

    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

  8. thusokgaodi
    Member
    Posted 4 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic