Skip to main content

How to Make Blog Post Images Responsive : Automatically Resize Blogger Images

How to Make Blog Post Images Responsive? that means how you can Automatically Resize Blogger Images to fit on various screen resolution. As you know you can fix the size of an image in your blog when you insert an image in to your blog, it can be small, medium, large, X-large and original size and this is best for desktop and laptop or any other device having minimum 900px resolution, but when you browse the site on the smart phone or tablet etc. the image is not resize to fit the screen and the image overflow to left or right, which may cause a bad user interface. So here we will show you how you can automatically resize all the images in your blog to fit with various screen resolution, which called responsive image.
How to Make Blog Post Images Responsive : Automatically Resize Blogger Images HTML/CSS Code
How To Convert Blogspot Images to Responsive Size?

You can do it by adding a simple CSS code in your blogger template. the below are some example of CSS code to make responsive image for your blog. Edit HTML and find CSS coding section and put these codes. Please do backup the template and then edit the HTML of your blog, if any error occurs you can easily restore the blog with the downloaded template .xml file.

Steps:
  • Log in to your Blogger and choose your blog you want to edit HTML.
  • Now click on Theme and click on Edit HTML.
  • Now press Ctrl+F to open search box and type CSS and hit enter key.
  • Stop where you find .CSS (See the above image for reference)
  • or you can also search for <b:skin><![CDATA[/*
  • Now you can add the below CSS codes their as per your requirements.

To Resize All Images:

img {
    width: 100%; height: auto
}

( It will resize all the images in the blog including profile image and button images etc. so it's not suitable for all blogger templates)

To Fix Maximum Size of All Images:

img {
    max-width: 100%; height: auto
}

(It will resize all the images in your blog up to the maximum size of the container, that means it will not exceed the post body margin) 

Responsive Images CSS Code of Post Body Blogger:

Resize all images to 100% width of the blog post body container:


.post-body img { width: 100%; height: auto }

(It will resize all images to 100% width and auto height with ratio, but one demerit you face after implementing the CSS code, which is if the image size is small it will resized to 100% and the image became unclear)

Resize all Post Body img (Recommended)

.post-body img { 
          max-width: 100%; height: auto 
}

(This is the best CSS code and you can use it in your blog to make the blog post images responsive, the CSS code has a condition that max-width can not be exceed 100%, when insert an set it to Original Size and now view the blog post and you will see the difference)

In this way you can make blog post images responsive or to fit automatically with any screen resolution, so use the CSS code to make blog image responsive and enjoy.

Comments

Popular posts from this blog

F220B Hard Reset

 In this topic you will learn how to hard reset JIO LYF F220B hard reset, so please go through the post to know the step by step procedure to hard reset/factory reset F220B Jio phone using keypad. F220B Hard Reset FREE COMPUTER TRICKS JIO LYF F220B Hard Reset? Switch off the phone. Now hold the * key and then power on the phone . After power on r elease the power button only , continue holding of * key until see the recovery option. Now choose the Wipe Data/Factory Reset and Press Power button Then choose Yes and press Power button to select . After format it will back to recovery menu Then choose REBOOT SYSTEM AND press power key for OK. Now your F220B phone has been hard reset.

New CSC Banner Download available in PSD format(December 2022)

Dear VLE, Ministry has approved new Common Branding  format for CSC Center in category wise. There are three types of designs: 1. First one is for CSCs providing general services, and which do not provide UCL or BC service. 2. Second one is for CSCs that provide both BC and UCL services. 3. Third one is for CSCs that provide BC services along with other services. All VLES are to install one of these branding boards at their CSC depending on the services provided.   3 CSC banner design download PSD file - free computer tricks Links to the Designs: Generic CSC Centre Banner:- Generic CSC Centre Banner sample Download  Generic CSC Centre Banner PSD format from the below link Generic CSC Centre Banner || Download Here BC+UCL Centre Banner:- BC+UCL Centre Banner sample Download  BC+UCL Centre Banner PSD format from the below link BC+UCL Centre Banner || Download Here BC Centre Banner:- BC Centre Banner sample Download  BC Centre Banner PSD format from t...

Redmi 5A EDL Point - Redmi 5A Test Point - Redmi 5A Software Flashing EDL Test Point

 Hi friends, in this topic you will find the test point or edl point of Redmi 5A. As you know to flash or unlock the Redmi 5A phone you must need to put the phone into EDL mode, for which you need to short the test/edl point on the phone's motherboard, and here is the 100% solution with HD image of the Redmi 5A motherboard pointing the EDL point. So please check the below image and short the edl point to flash/unlock/frp unlock the phone, Thank you...... Redmi 5A EDL Test Pint - Free Computer Tricks Follow the above image and short the 2 points and connect the phone to PC it will be detected by the Computer and then you can flash/unlock the phone using Mobile Flashing Tool. Free Computer Tricks YouTube Channel https://www.youtube.com/c/FreecomputertricksIn/videos PSP Studio (ଓଡ଼ିଆ) https://www.youtube.com/user/part20001/videos