How to make Blogger widgets visible in Blogger Mobile template (also make Adsense visible in mobile template)?
In Blogger, the view on desktop computers and mobile devices are shown differently. By default, the template on mobile devices are stripped down and responsive. Not all sections or widgets displayed on desktop computers are visible on mobile devices. Most widgets manually added to Blogger will not be view-able on mobile devices. Adsense added from Blogger's Adsense widgets are visible however their display regions are only on the top and bottom of the page. Google Adsense code if added manually to the blog using Blogger HTML/JavaScript widget won't display on mobile devices. In order to show widgets visible on desktop to also show on mobile devices, including Google Adsense widgets, do the following changes.
How to enable widgets to display on mobile devices?
First, let's add a Blogger widget our self to test. Let's say we want to display a custom labels block.
- Login to Blogger and click on Layout
- Click "Add a gadget" and choose "Labels"
- Instead of all, let's select only a few labels to show.
- Save the widget.
- Check whether it appears on desktop (it should).
- Check whether it appeared on mobile (it won't).
1. While still logged in to Blogger, click on Template / Theme, and then on Edit HTML
2. From the "Jump To Widget", click on the widget you are interested in (the newly added HTML/JAVASCRIPT widget will usually have a higher number. eg: HTML15).
We'll come to a code that looks like the one below:
<b:widget id='Label1' locked='false' title='Categories' type='Label' visible='true'>
To show this widget on mobile devices, just add " mobile='yes' " to the above line. So it now looks like:
<b:widget id='Label1' locked='false' mobile='yes' title='Categories' type='Label' visible='true'>
But entering the additional code, we are telling Blogger to display this widget on mobile devices also.
Repeat the above steps for any other widget which you would like to display on mobile devices.
3. After enabling all the widgets you need, SAVE TEMPLATE and go BACK.
4. In the TEMPLATE page, click on the "gear" icon under the MOBILE preview shown.
We have two options at "On mobile devices, show a mobile version of your current template".
- Yes. Show mobile template on mobile devices. (choose this option)
- No. Show desktop template on mobile devices.
6. Choose mobile template: Click and choose "CUSTOM".
Custom adapts your template customization to mobile. Be sure to preview your template.
7. Click SAVE.
After saving the changes, open the blog on mobile device and check. The widgets you enabled will now be displayed on the mobile device. This includes widgets such as popular posts, labels, others and even Google Adsense code added through HTML/JAVASCRIPT widgets.
Screenshot below:
If you find the post helpful, please like, share and let me know in the comments. Cheers!
thank you i get it i find it for long time
ReplyDeleteWelcome. I am glad you found it helpful. Goid day.
DeleteMehn, it worked for me. I have been searching the web for like a week now and I got it here. Wow! I appreciate big. Thanks a lot.
ReplyDeleteYou are Welcome. I am glad you found it helpful. Good day.
Deletei want to try it for commentluv.
ReplyDeletehello,i have done find a widgets on html on my blog and have done to add mobile ='yes' but why still not work on mobile view my site like www.caramenjahit.com?m=1 please help me whats wrong with my template blog.Thank you
ReplyDeleteFind the widget you are interested to show on mobile and in it's code just add mobile = 'yes' like this:
DeleteIf you need more help, you may export your template, and save it on Google Drive or Dropbox, and share me the link. I will have a look. If so, do let me know the widget you are trying to show on mobile too.
Thanks.
bro having the same issue too
ReplyDeleteAdded the code but every time I try to save it it keeps on saying template can not be saved bla bla bla
kinda frustrated
Can you copy and share the error here?
DeleteI think while editing, you may have missed some tags. Check if the tags are properly closed. Also you should always backup your template first before editing. If so, restore it and try again.
Thanks so much for posting this. I'd been wondering for ages how to do this on my funny jokes and pictures website.
ReplyDeleteHi Robert,
DeleteYou are welcome and I am glad you found the post helpful/interesting.
Regards,
www.techubber.blogspot.com
Thanks Bro Is working for my blog:
ReplyDeleteBusiness Success Blog
Thank you so much .
ReplyDeleteLove from www.goCareer.in
Hi, I'm glad it helped.
DeleteRegards,
www.techubber.blogspot.com
Nicely written brother. It helps me lot. Before i don't use any widget in my mobile view.
ReplyDeleteHi Rihan,
DeleteGood job...I'm glad it helped.
Regards,
www.techubber.blogspot.com
Thanks.I am done.It helped me lot.Thanks ince more..
ReplyDeleteHi Abdul,
DeleteYou are welcome. I am glad the post was of some help :)
Regards,
www.techubber.blogspot.com
Thank's bro...
ReplyDeleteWelcome!
Deletethanks
ReplyDeleteCan we add media.net or infolink ads on blogger templates please reply ?
ReplyDeleteI haven't used media.net ads. Otherwise, yes, you can use Infolink ads with Google Adsense in your blogs. But do take care of Google Adsense display policies. Google it.
DeleteHello! I have a problem i cant seem to find ANY solution! The gear icon beneath the mobile template preview disappears before i click on it!! I have tried three different devices and over three browsers all compatible with google's Blogger. I have been searching for a solution for over a week but i cant find one. Please help!
ReplyDeleteI have followed your tutorial and also many my widget are now showing on mobile, but only recent post widget showing only heading.
ReplyDeleteHi Narendra,
DeleteI hope you are not the PM LoL :D
Jokes apart, I am glad you were able to follow the post to enable most widgets. Regarding the "recent post", is that a custom code? As far as I remember, Blogger does not have a recent post widget by default. But still, if the code is added to a Blogger Gadget, the behaviour should be the same as other widgets.
What is the link to your blog/website?
Big help! OldmanOCR.com
ReplyDeleteI have also same problem. In my mobile template shows only home button in widges. How to show all pages in widget?
ReplyDeleteVery Helpful buddy, i really appreciate, now i can show any widgets i want on mobile for my blog https://bhejafrynews.blogspot.com
ReplyDeletethanks brother. You are very smart . Thanks for help me.
ReplyDeleteThanks for the feedback. I am glad it helped.
DeleteThanks! This worked perfectly.
ReplyDeleteHi, I'm glad it helped.
DeleteRegards,
www.techubber.blogspot.com
Each time I try to save the widget it tells me "be.widget" must be followed with > or/> and yet I can't change anything what should I do I need your reply now please
ReplyDeleteAs described in the post, all you need to do is add mobile='yes' to an existing widget starting code.....such as in:
DeleteThere is no 'be.widget' here. So the problem you described may be from somewhere else in the code or some other widget...
If you have a backup restore it and try again.
As described in the post, all you need to do is add mobile='yes' to an existing widget starting code.....such as in:
DeleteThere is no 'be.widget' here. So the problem you described may be from somewhere else in the code or some other widget... If you have a backup of the template, may be restore it and try again?
I have this error when I try to save: Error parsing XML, line 2467, column 45: Element type "b:widget" must be followed by either attribute specifications, ">" or "/>".
DeleteThanks Bro Is working for my blog:
ReplyDeletefilehippo
ReplyDeleteThanks! This worked perfectly.
filehippo
Thanks! I have'd set in my blog it is very helpful for me.
ReplyDeleteWelcome. I am glad the post was helpful to you.
DeleteIts one of the most relevant article that i have come across lately
ReplyDeleteThanks a lot, it was very handy to me..
ReplyDeleteThank you this was perfect. I was wondering why no-one was subscribing to my blog and noticed recently the follow by email didn’t show on mobile view, 90% of my views are mobile. Now it shows! Yay!
ReplyDeleteHi Veronica, I'm glad it helped.
DeleteRegards,
www.techubber.blogspot.com
Can someone help me please? not working for me.
DeleteAs described in the post, you just need to go to edit html, find the respective code for the widget and add mobile='yes' to it.
DeleteStill not working
DeleteI hope you are using Blogger theme?
DeleteIf you can, export, download you theme, and send me the xml file. Mention which widget you are trying to enable on mobile. will check. I have emailed you
Thanks For Sharing this information.
ReplyDeleteYou are welcome.
DeleteRegards,
Admin
www.techubber.blogspot.com
worked like a charm...
ReplyDelete@eworkwanted.com
Thank you so much sir. After 3 hour continuous search, I reached your blog and I got peace of mind. Thank you so much once again.
ReplyDeleteWelcome. Glad it was of help. Cheers!
Deleteas i have to change the header styling for the mobile ,and i have go to the theme and the mobile setting option but it is not showing the setting option in the page only customize and edit html is showing for the desktop version how i can get the setting option if it is not showing in it..... can u help me in this as i have to change the header format in the mobile browser ... it is showing me default one only
ReplyDeleteIn my blog it's not working :(
ReplyDeleteThank your bro, you saved my day, amazing help!
ReplyDeleteshowing this msg when trying to save
ReplyDeleteError parsing XML, line 2261, column 39: Element type "b:widget" must be followed by either attribute specifications, ">" or "/>".
Hi
DeleteSorry for the late reply. You may have already resolved the issue.
Probably the widget tag is not properly closed or ended.
Refer this: https://bloggerbook.blakbin.com/2018/11/blogger-bwidget-tag.html
It is explained well here.
I hve the same problem too, how to solve it? I already refer to the the link you gave above, but still I cannot solve it.
DeleteHow about hashatory?
ReplyDeleteThank you SO much for your tutorial, I greatly appreciate your advice—it worked like a charm on my blog! ( https://www.enthusiasticfantastic.com/ )
ReplyDeleteWorking 100% perfect, Thanks
ReplyDeleteRegards
Faster
Welcome!
DeleteThank you SO much for your tutorial, I greatly appreciate your advice.....it works like charms on my blogs
ReplyDeletemore information these links
Pandora Apk
Welcome!
DeleteMay you help me, please? I'd like to make the author profile box of my blog appear on the mobile version as a user of blogspot? It only appears on the desktop version right now.
ReplyDeleteNice
ReplyDeleteThank you very much
ReplyDeletethank you very much your post help me lot to display other external gadget in mobile view otherwise they don't show in mobile ....
ReplyDeletenice
ReplyDelete