Google Ads

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
  3. Thank You! This is very helpful. I tried other tutorials with so many codes but were so confusing while your tutorial solved my problem with just 1 line of code. Awesome!

    ReplyDelete
  4. Thanks a lot, it worked like magic

    ReplyDelete
  5. How to make embeded audio and video player responsive in blogger posts.?

    ReplyDelete
    Replies
    1. You can refer to https://almost-a-technocrat.blogspot.com/2015/03/how-to-make-youtube-embedded-videos.html

      Delete
  6. HI, how can I make the image show one way on desktop and another on mobile, to make myself clearer, i put the alignment for the image to show left (so I can have the image on the left and text on the right so that the image and the text both show at same level) but I want on mobile for image to be centered so that text will show underneath, is there a css that will make image show centered only on mobile? any help is appreciated, thank you!

    ReplyDelete
    Replies
    1. Hi perhaps you can refer to some of my older posts for ideas?
      https://almost-a-technocrat.blogspot.com/search?q=custom+mobile+view

      Delete
  7. mantabs nih, cocok di aplikasikan di postingan ane

    ReplyDelete

Post a Comment

Thank you for visiting Almost a Technocrat. Due to many spam comments, your comment will be moderated.

Popular posts from this blog

A Better SKMEI 1358 Instructions Manual

A Better SKMEI 1418 / 1427 Instructions Manual

How to force stop or cancel Android download manager downloading process

SKMEI 1358 Review