How to Hide/Show Widget on Mobile in Blogger

Advertisements
If you have ever tried to access your blog from a mobile device then you might familiar with blogger provides a mobile responsive template which is greatly responsive. However, it doesn't creates a great impact towards design. There are certain widgets which do not look good on mobile view whereas they look appealing on big screens so that in that situation you can simply hide those from your blog only for mobile view or you can show some specific widgets only for mobile view not for big screens. Today, in this article, we will show you how to hide/show widget on mobile in blogger.

Also Read: 
How to Enable a Responsive Mobile Template in Blogger
How To Add Google Adsense on Your Mobile Website

How to Hide/Show Blogger Widget on Mobile View

So here are the steps you need to follow in order hide or show blogger specific widgets on mobile view and customize your blog for different screens
.

How to Find Widget ID in Blogger?

In case your blog is not showing any of your widget on mobile view, follow the instructions that we have mentioned below:

Go to Blogger >> Template >> Layout. Now click on Edit button of widget which you want to show on your blogger template.

Now you need to look for Widget ID which would be in the URL of your selected widget. In the URL look for widgetId it would be towards the end of the URL. If you cannot find the Widget ID then simply Copy the title of the widget and if there is no title then give a title for time being, just for the sake of search.

Show Blogger Widget on Mobile View

Go to Template >> Edit HTML >> Search for widget coding using Widget ID which you’ve copied in above step or widget title. (Quick Tip: You can use "Jump to widget" option available in template editor to get to the code of any widget that you like).

This will straight take you to the widget coding, now add mobile=’yes’ in the widget code just after the locked=’false’. Refer the below screenshot to add it correctly.
Now simply save your blogger template by clicking on Save template and you are done.

Hide Blogger Widget for Mobile View

Go to Template >> Edit HTML >> Search for widget coding using Widget ID which you’ve copied in above step or widget title.

This will lead you to the the widget coding, now add mobile=’no’ in the widget code just after the locked=’false’. Refer the below screenshot to add it correctly.
Then Click on Save template button and you are done.

We hope this article helped you in learning how to show or hide widget on mobile in blogger. If you have any queries or confusion left related to this article then lend your queries in the comment box. Any of our team members will assist you in solving them. 
Advertisements

The Editorial Team of MyBloggerLab consists of a group of Professional Blogger geeks Led by Syed Faizan Ali (Founder of MyBloggerLab).

Comment With:
OR
Choose Wisely!

14 comments

ak
January 3, 2016 at 4:00 PM

Nice! Thank you for this. From this point, how can i position the widget where i want it.

Editorial Team MOD
January 4, 2016 at 10:42 AM

Hi,

We will soon write a detailed tutorial on it, Thanks

February 18, 2016 at 1:17 PM

Great post, but I tried to show my widget in mobile only with mobile=’only’ code, but it keeping error. "Error parsing XML, line 1382, column 53: Open quote is expected for attribute "mobile" associated with an element type "b:widget".

March 9, 2016 at 5:36 AM

i try but errore....--> Kesalahan saat mengurai XML, baris 3972, kolom 48: Open quote is expected for attribute "mobile" associated with an element type "b:widget".

May 14, 2016 at 1:56 AM

I also face the same prob. Pls guide ..how to fix it

May 25, 2016 at 2:20 AM

i tried to do it but it shows following eror how to desolve it

Error parsing XML, line 1990, column 45: Element type "b:widget" must be followed by either attribute specifications, ">" or "/>"

May 29, 2016 at 10:56 AM

correct code is mobile='yes'

June 10, 2016 at 10:32 AM

Just go to the layout and drag the widget wherever you want in the layout. Thanks.

July 14, 2016 at 11:51 PM

Hello great post! ,now that I've enabled the widgets I want, how can I change the positioning? Also, is there a way to customize the mobile version to be exactly or atleast close to the Web version. So far, it's just the backgroup image it's adopting.

Editorial Team MOD
July 17, 2016 at 1:59 AM

Hi,

You simply need a Responsive Blogger templates that adapts the same web design for the mobile users.

Have a Look at this template

http://www.templateism.com/2016/07/viral-mag-multipurpose-responsive-blogger-template.html

It has the same look and feel on mobile as well as on web.

It is also available for free Download.

Anonymous
August 30, 2016 at 3:36 AM

It did work for me...But please tell us how to adjust widget??

September 7, 2016 at 5:07 AM

CCan I use my phone to edit my html code?

September 7, 2016 at 7:35 AM

Whatever you feel comfortable with to be honest. I find phones being too tiny to read through. And if you want to view as you're editing, on the phone, it's difficult. Hope that helps.x

September 7, 2016 at 7:36 AM

Hi, thanks. I've been able to sort it. Looks better than before and I've been able to customize some features.

Post a Comment

We’re eager to see your comment. However, Please Keep in mind that all comments are moderated manually by our human reviewers according to our comment policy, and all the links are nofollow. Using Keywords in the name field area is forbidden. Let’s enjoy a personal and evocative conversation.

Helping You to do Cool Things With Blogger Since 2012™.

© Copyright 2012 - 2018. MBL Networks, All Rights are Strictly Reserved.