Home › Forums › Jevelin Theme › Collapse Menu onClick
Home › Forums › Jevelin Theme › Collapse Menu onClick
I see this has been covered a little before here:
https://support.shufflehound.com/forums/topic/mobile-menu-doesnt-colapse-on-anchor-link/
However, is there a way to get this to work on same-page links? I.e. can it collapse on click so that the page scrolls to the anchor and the menu collapse back to original state?
Thanks!
Hi @spfskyline,
I hope you are well today and thank you for your question.
You can achieve it using small custom plugin solution shared in the following topic.
https://support.shufflehound.com/forums/topic/hide-mobile-menu-on-click/#post-5380
Best regards,
Shufflehound team
Thanks, I did install and activate plugin. It does not appear to work on https://www.eaglesnestdevelopers.com.
Any idea why?
Solution for this topic
Could you please remove that installed custom plugin and try using the attached modified custom plugin?
Thanks, but still appears to not work. I can see it is loading the script in to footer.
It is working fine on my test site.
This can be due to plugin conflict on your site so please try temporary deactivating all plugins except Unyson and provided Custom plugins and see whether everything works fine and then enable the plugins one by one to see which plugin is conflicting if any.
interesting. I disabled all plugins and cleared the cache. I cannot get it to work on the live site. However, it appears to work in the customizer preview.
any other ideas? would it help if you had access to dashboard?
Thanks
Sure please share me your site log in details privately by adding them in the box having text “Click here to share private content. Only you and forum moderators will bee able see it.”.
Shared.
Site currently has mobile sticky nav turned off as a workaround so the nav scrolls our of view. You’ll need to turn it back on to troubleshoot.
Thanks!
I made it work on your site so could you please confirm it.
Thanks! Looks to be working. I’ll let you know if I notice any issues. What ended up being the issue?
You are most welcome here 🙂
It seems specific menu condition occurred in the latest version of theme was causing it not to work.
The issue is fixed in the below latest version of theme so please update your theme.
Please login to access this file
You can update it by either deleting existing theme and then install latest theme version of it or use the following plugin to update the theme.
https://wordpress.org/plugins/easy-theme-and-plugin-upgrades/
After activating the above plugin just install the downloaded theme on your site.
You won’t lose your site content after updating the theme but for safer side you can take backup of your site before updating the theme.