Tuesday, March 7, 2017

Display post categories or menu of blogspot site in mobile view

Due to lack of available space, blogspot site's mobile view doesn't provide gadgets like categories, menu etc. But this can be done by making some changes in the HTML. Follow the following steps :

Go to the layout section of dashboard

Click on "Edit" of the gadget. On the addressbar of the browser you'll see something like this - "widgetId=something". For example , here Id = Label2. Remember this Id.

Next, go to the theme section of dashboard. Hit on the setting icon under "Mobile" head. Select a custom theme. Also make sure that you select the first option just like the picture below.


Then click on "Edit HTML" button  in theme section. Find out the id of your desired gadget. Remember, in this example my Id was "Label2". Add an attribute for the gadget - mobile='yes'. Follow the image below.





Hit "Save theme" & you are done. Now you will see the gadget both from mobile & desktop.

 

0 comments:

Post a Comment