Mobile='yes' code not working?


#1

i am using a custom template for desktop website but for mobile website i have enabled awesome.inc template but when i add mobile=β€˜yes’ attribute to the widget html,the widget still dont display on mobile websites. What is the problem and how can i resolve it? Thank you for the help :smile:


#2

@ankit, try doing this using CSS media queiries which are easy and advanced because using CSS Media Queries, you can easily hide/show/change widgets on any screen width. You can set maximum or minimum width for when conditions will be applied.


#3

@ankit below posts will solve your problem

  1. http://www.mybloggertricks.com/2015/07/Blogger-Mobile-Conditional-Expressions.html
  2. http://www.mybloggertricks.com/2015/07/disable-loading-javascript-and-html-in-mobile-devices.html