How to remove auto sizing of image on Blogger Post? (SOLVED)


#1

I have having some issue on my blogger post image size.

When is post large size image then it auto size with the post area, which is ok for me but the real problem is that when i post a small size image, it auto size with the post area. Due to this the image quality is also gone and it’s makes the look of the blog bad.

And another info, when i add a caption on the same small size image it comes with it’s original size.

Auto size of large image is ok for me. But i want to remove the auto size of the small size image. I want to have the small image on it’s original size.

I have created a demo link of that template (Plz check here)>>http://demo-prowayofblogging.blogspot.com/2015/08/image-demo.html


#2

Here’s the solution:

Just find this:

.post img {
    width: 90%;
    height: auto;
    padding: 10px;
    border: 1px solid #E6E4E4;
    box-shadow: 0 0 5px #E6E4E4;
    right: 0;
}

And replace that with this:

.post img {
    width: auto;
    height: auto;
    max-width: 90%;
    padding: 10px;
    border: 1px solid #E6E4E4;
    box-shadow: 0 0 5px #E6E4E4;
    right: 0;
}

now save the template.


#3

@Shivansh Thanks bro that’s solved my problem