[null, {"document_url": "https://www.konsultasisyariah.in/2017/05/how-to-enable-widgets-to-display-on.html", "unformatted_src": "//lh3.googleusercontent.com/-iSQI5canP7M/AAAAAAAAAAI/AAAAAAAAiDU/AOHCP6JosJE/s512-c/photo.jpg", "src": "http://lh3.googleusercontent.com/-iSQI5canP7M/AAAAAAAAAAI/AAAAAAAAiDU/AOHCP6JosJE/s512-c/photo.jpg", "formatted_filename": "photo", "alt_text": "Konsultasi Syariah", "rendered_width": 32, "rendered_height": 32}, null, {"document_url": "https://www.konsultasisyariah.in/2017/05/how-to-enable-widgets-to-display-on.html", "unformatted_src": "//lh3.googleusercontent.com/-iSQI5canP7M/AAAAAAAAAAI/AAAAAAAAiDU/AOHCP6JosJE/s512-c/photo.jpg", "src": "http://lh3.googleusercontent.com/-iSQI5canP7M/AAAAAAAAAAI/AAAAAAAAiDU/AOHCP6JosJE/s512-c/photo.jpg", "formatted_filename": "photo", "alt_text": "Konsultasi Syariah", "rendered_width": 90, "rendered_height": 90}, null, null]
Home Tips How to enable widgets to display on mobile devices?

Kamis, 06 April 2017

How to enable widgets to display on mobile devices? Penulis Konsultasi Syariah Diterbitkan 4/06/2017

n Blogger, the view on desktop computers and mobile devices are show differently. By default, the template on mobile devices are stripped down and responsive. Not all sections or widgets displayed on desktop computers are available 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 to the blog using Blogger HTML/JavaScript widget, it won't display on mobile devices. In order to show widgets visible only on desktop to also show on mobile devices, including Google Adsense widgets, do the following changes.


First, let's add a Blogger widget our self. Let's say we want to display a custom labels block.

Login to Blogger and click 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).

To display Blogger widgets view-able on desktops to also appear on mobile devices, do the following:

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 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'
 
Dapatkan buku-buku Islam karya A. Fatih Syuhud di sini. Konsultasi agama kirim via email: email@example.com


Kirim pertanyaan ke: firstname.lastname@example.org
Dapatkan buku-buku Islam di sini!

