How to hide description from mobile version of blogger

Search for the following block of code (It will be present inside the header widget)


<b:includable id='description'>
  
<div class='descriptionwrapper'>
    
<p class='description'><span><data:description/></span></p>
  
</div>
</b:includable>

Now replace this with 


<b:includable id='description'>
  
<b:if cond='data:blog.isMobile'>
  
<b:else/>
  
<div class='descriptionwrapper'>
    
<p class='description'><span><data:description/></span></p>
  
</div>
  
</b:if>
</b:includable>

Comments

Popular posts from this blog

Check MySQL query history from command line

Installing chocolatey on Windows