Hide a Specific Widget or Portion in Mobile View from Blogger Blog|isMobileRequest

0
4742
Most of the blogger blog owners move to responsive designs, since the increase in number of smartphone traffic. The main risk of responsive template is you need sacrifice some design issues, either its perfect in desktop view or its perfect in mobile view but not both. In this scenario we can use isMobileRequest tag to hide a specific portion or an entire widget from your blogger template, so let’s dive in.

How to Hide

  • 1. Goto Blogger Dashboard click template and click edit html
  • 2. Search and find your widget or div.
    you can easily find your widget name from the layout editor
    blogger widgets
  • 3. Find your widget name in your blogger template code
    you can shrink the by clicking the line number
    hide blogger widget
  • 4. Now surround your code with the following code

    <b:if cond='data:blog.isMobileRequest == &quot;false&quot;'>
    ------------------------
    Your Section/Div/Widget Code

    ------------------------

    </b:if>

LEAVE A REPLY

Please enter your comment!
Please enter your name here