Hide or show html widget and popular post on mobile blogger – good for Seo

Hide or show html widget and popular post on mobile blogger – good for Seo. As you know Hide html widget and popular post on mobile blogger – by display : none is not good for Seo. But how to Hide or show html widget and popular post on mobile blogger – good for Seo is the target we a focus at this article.
1- What its the purpose of this action?
– Hide no need html on mobile for better speed load website. – this is the mainly purpose
– Customize the layout at mobile as we want
2 – How to hide this

Method 1: using

display :none

This is the not good for Google search when it still read the html when it display on mobile. The  HTML element even is read on the no content when google search reach to it. What is the solution? It it the condition structure for Google Search not reach it.
Method 2: using:

<b:if cond=’data:blog.isMobileRequest == &quot;false&quot;’>   ….html…  </b:if>   

 For remove html on Google Search on moblie.
With HTML, using

<b:if cond=’data:blog.isMobileRequest == &quot;false&quot;’> 

after <b:includable id=’main’> and

</b:if>

 
With popular post is after <b:includable id=’main’> and before the last line of widget or before </b:includable> of popular widget:
 
 
If you want to show on mobile and hide on desktop, do as this tip and use this one:

<b:if cond=’data:blog.isMobileRequest == &quot;true&quot;’>

However, better is hide on mobile, because the speed of website is very important in mobile.

Sponsored Links: