Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2729

    Add following code to style.css:

    a img, a:hover img{
    border: none !important;
    background: transparent !important
    }

    .entry img{
    border: none !important;
    background: transparent !important
    }

    If you want to remove the borders on an individual basis (i.e. only for some images) there are two ways to achieve what you want:

    1) You need to append following style attributes to your images:

    style="border:none;background:none;"

    i.e. like:

    <img src="my-image.jpg" style="border:none;background:none;" alt="" />

    OR

    2) Add following code to style.css:

    .noborder{
    border: none !important;
    background: transparent !important
    }

    and append this class to your images like:

    <img src="my-image.jpg" class="noborder" alt="" />

Viewing 1 post (of 1 total)

The topic ‘How to remove the image borders?’ is closed to new replies.