Hide blogger posts in homepage but display them in mobile phone version

When you use conditional tag to hide blogger posts in homepage because of any reason, they are also hidden in mobile phone version. So that the visitors view your blog on mobile phone version, they only see a nothing blog. Hereafter the code to hide blogger posts in homepage but display them in homepage of mobile phone version. Place it right before </head>



<b:if cond='data:blog.url == data:blog.homepageUrl'>
<b:if cond='data:blog.isMobile == &quot;false&quot;'>
<style>
#Blog1 { display: none; }
</style>
</b:if></b:if>

Comments