Tagged: x
-
AuthorPosts
-
January 31, 2017 at 9:14 am #1352319
cmelnikParticipantHi,
I am using mixed navigation, scroll to section on home page and a nav link to another page. All seems to work correctly on everything but mobile.The section scroll for on page works items works fine but when you choose the nav link to the other page it closes the menu window and will not work. Same when trying to come back from the other page to the home page.
Please let me know how to correct.
Regards
January 31, 2017 at 9:16 am #1352321
cmelnikParticipantThis reply has been marked as private.January 31, 2017 at 10:38 am #1352446
RupokMemberHi there,
Thanks for writing in! That’s pretty expected because One Page Navigation supposed to work within single page. If you want to mix then you can provide full URL instead of just ID.
Cheers!
February 1, 2017 at 11:11 am #1353944
cmelnikParticipantHi,
I created the menu using long url to achieve the scroll. ex. http://imcgcreative.com/#serviceThat enabled the menu item to scroll to that section i.d.
I also have a separate page included in the menu. http://imcgcreative.com/theplan
On non-mobile menus, it works exactly as expected. Click on the menu item and it takes you to the section. Click on the menu item for the other page (The Plan) and it goes to that page. Click on the menu from The Plan page and it takes you back to the home page and to the section associated with that menu item.
On mobile the only aspect that works is the home page scroll to section. Mobile will not link to the other page and vice versa.
Seeing as how it works on non-mobile versions I would expect that it can be fixed to work on mobile???
Not sure what you mean by full url? The site is at http://imcgcreative.com
Thank you.
February 1, 2017 at 2:36 pm #1354207
JadeModeratorHi there,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
February 2, 2017 at 9:49 am #1355354
cmelnikParticipantThis reply has been marked as private.February 2, 2017 at 12:51 pm #1355546
JoaoModeratorHi There,
You could try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
Thanks
February 6, 2017 at 3:43 pm #1360233
cmelnikParticipantHi,
I have tried deactivating all the plugins and there is no difference???February 7, 2017 at 7:26 pm #1362100
cmelnikParticipantIs it possible to take a deeper look into why this is not working?
Thank you.
February 8, 2017 at 3:15 am #1362519
Paul RModeratorHi,
Please replace the code in your Custom > JS from this.
jQuery(document).ready(function($){ $('.x-nav-wrap.mobile .x-nav a').on("click touchstart",function(){ $('.x-nav-wrap.mobile').removeClass('in'); }); });Hope that helps.
to this
jQuery(document).ready(function($){ $('.x-nav-wrap.mobile .x-nav a').on("click touchstart",function(){ setTimeout(function () { $('.x-nav-wrap.mobile').removeClass('in'); }, 500); }); });February 8, 2017 at 1:52 pm #1363266
cmelnikParticipantBrilliant! (Or at least much smart than me)
That worked great. Problem solved.
Best Regards
February 8, 2017 at 9:48 pm #1363788
RadModeratorGlad to hear that and you’re welcome 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1352319 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
