How to make blog post images responsive in Blogger


This is how you can make all your blog post images responsive to the different screen sizes.
Add this line into your Blogger custom CSS section:
.post-body img { width: 100%; height: auto }



Comments

  1. Thank You very much you have solved my problem

    ReplyDelete
  2. It worked great on the mobile display... but it messed the desktop display :
    - messed with alignment of main picture
    - displayed small images (opening bigger through lightbox) in full screen

    ReplyDelete

Post a Comment

Popular posts from this blog

City Code Table for Casio SGW300HD-1AV Watch

How to force only 4G or LTE network connection for Samsung Galaxy Note 4

Mounting NFS share directory from D-link DNS 320L on Ubuntu 12.04 LTS