Anyway, suppose your visitor is reading a long story on your blog page on his mobile and he is in the middle of the page and just swipe to next page although he doesn't want to do so but by mistake he did it so now he has to go back and scroll to the middle and find where he was? so he will definitely not like it. Because most of the mobile sites do not have this feature so everybody don't know about it so this mistake occurs often on blogger sites. So to avoid this bad user experience you can remove it.
Unfortunately it is not known that how blogger add this swipe next and back because you don't find any script for it in blogger templates so we have to add a script to remove this swiping rather than to remove a script.
So in this post I am going to show you step by step how to remove swipe next and back from blogger mobile site. In my next post I will show you how to add sticky next and back buttons in your blogger mobile site so that if a user wants he can go to next or previous post by intention without any mistake.
How To Remove Swipe "next" And "previous" From Blogger Mobile Site?
Step 1: Go to blogger > Theme > Click on Edit HTML.
Step 2: Click in your theme code and use CTRL+F to open theme search box.
Step 3: Search for </body>.
Step 4: Copy below code and paste it above </body>.
<b:if cond='data:blog.isMobile'>
<script>
document.getElementById('main').addEventListener = function() {}
</script>
</b:if>
I know it is not a long post and just simple 5 steps post but many people ask how to do it so I decided to do a post on it. If you like it share it with others and if you don't leave a comment below.
Search keywords: How To Remove Swipe "next" And "previous" From Blogger Mobile Site, add next and prev button in blogger, remove swipe from blogspot mobile,how to modify blogger mobile template,blogger mobile template help,101helper mobile blogging
0 nhận xét:
Đăng nhận xét