Tagged: x
-
AuthorPosts
-
August 9, 2016 at 8:44 pm #1124794
MelstrathdeeParticipantHi I have a website that runs as a single page website.
http://www.theappassembly.com
I’m having a problem with my menus that displays on the blog pages back to the main page.
Blog page http://www.theappassembly.com/the-secret-language-of-splunk/
They work find unless you are using the hamburger menu on a mobile decice and then the links just do nothing.
Any help would be greatly appreciated. ThanksAugust 10, 2016 at 2:10 am #1125120
RupokMemberHi there,
It seems fine on mobile menu as well. It’s working same as the desktop so not sure what you are referring by “the links just do nothing.”, Would you check again and clarify?
Cheers!
August 10, 2016 at 6:18 pm #1126307
MelstrathdeeParticipantI’ve checked an it isn’t working. Here is how to reproduce it:
1. Open this blog post on a mobile (only happens on a mobile)
http://www.theappassembly.com/the-secret-language-of-splunk/2. Turn the screen so you have the hamburger menu.
3.Select any of the drop down links (they all go to the same page but are anchor links to different sections)
4. Nothing happens.
If you hold the link down and select open in new window. It opens correctly.
I can reproduce the problem on iphone6 plus and an andriod device. Could you take another look please.
ThanksAugust 11, 2016 at 1:45 am #1126802
RadModeratorHi there,
Please add this code to Admin > Appearance > Customizer > Custom > Javascript.
jQuery ( function($) { $(document).ready( function() { $('body:not(.home) .x-navbar .mobile .x-nav li>a').off('touchstart touchend').on('click touchstart touchend', function(e){ e.stopPropagation(); window.location = $(this).attr('href'); } ); } ); } );Hope this helps.
August 11, 2016 at 5:45 pm #1127842
MelstrathdeeParticipantExcellent thank you that worked perfectly.
Great support guys!!August 11, 2016 at 5:50 pm #1127845
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1124794 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
