Pages

Monday, August 31, 2015

How To Make Blogger Template Responsive

How to make blogger template Responsive is one of the most important queries which most blogger users ask because in wordpress there are many plugins and themes to make their template responsive in fact there are blogger themes also which are responsive but many users which are using free blogger templates don't have these functionality and they are always asking questions like how to make blogger template responsive. You must be knowing that due to the increase in the number of mobile and tablets users and different screen size of devices the layout of your blogger blog will not be displayed properly across all the devices with different screen sizes

Read - How to make blogger template mobile friendly

So it's very important to make your blogger template responsive so that it is displayed properly in all the devices no matter the user is viewing your blog through desktop of 15 inches or 10 inches or by tablets or mobile phones. If your blog template is responsive then it will not face any challenge in rendering and it will automatically resize itself to render properly in the devices with different screen sizes.

Thus in this post I am going to show you the best trick to make your blogger blog template responsive So that your visitors don't face any problem while viewing your blog on different devices

Read - How to make blogger template SEO friendly

How To Make Blogger Template Responsive



How To Make Blogger Template Responsive
How To Make Blogger Template Responsive


The very first step to make your blogger template responsive is to add viewport meta tag in your template. What this viewport meta tag does is simply tell the browser to resize itself according to the screen size no matter your viewing it from mobile or tablets or desktop. For doing this you just have to add the below mentioned viewport meta tag in the head section of your blogger template So let's do it

1)  Go to your blogger dashboard

2) Click on Templates

3) Click on Edit HTML and search for <head>

4)  Paste the below mentioned code in the head section of your blogger template



<meta content='width=device-width, initial-scale=1, maximum-scale=1' name='viewport'/>


What this code does it simply tells that viewport width should be same as the device width and it's set to initial value as 1


Now we will go ahead and add different code for each screen and device types to make our template responsive and for this we are going to use media queries


Make Blogger Template Responsive with media queries


You must put the below mentioned code after

]]></b:skin> 
In the below mentioned code the max width simply says that if the width of the device is less than or equal to a particular media query then use the following CSS code to render the blogger template and if it more than that it will move to another media query and select the right media query to display our blogger blog on different devices with different screen sizes. So simply copy the below mentioned code and paste after

]]></b:skin>  of your blogger template to make it responsive


/* For Desktops and Laptops*/
@media only screen and (max-width : 1280px) {
/* If device width is less than or equal to 1280px */
}

/* For Tablets*/
@media only screen and (max-width : 1024px) {

}

/* For Small Tablets*/
@media only screen and (max-width : 768px) {

}

/*For iPhones */
@media only screen and (max-width : 640px) {

}

/* Mobiles */
@media only screen and (max-width : 480px) {

}

/* Small Mobiles */
@media only screen and (max-width : 320px) {

}


So friends this was how to make blogger template responsive if you like this tutorial then please share with other blogger users who also want to make their blogger template responsive, Well this is very important because the number of mobile users have increased tremendously since last 4 to 5 years and believe me that there are more users who are surfing the internet via mobile phones and tablets as compared to desktop and laptops because they are so portable, and in the coming years this number will keep on increasing only So if you have not made your blogger template responsive then please go and make it now to give your visitors a better surfing experience.
Read more ...