Home › Forums › Arnold WordPress Theme › Link to section in (mobile) menu
- This topic has 6 replies, 2 voices, and was last updated 3 years, 7 months ago by
merelwitteman@gmail.com.
-
AuthorPosts
-
October 21, 2022 at 1:07 pm #28477
Hello!
I would like to add a link to my menu that links to the ‘portfolio section’ on the homepage. I gave the group that holds the masonry grid the ID ‘projects’ and added a link to the anchor to my menu (www.merelwitteman.com/#projects). On desktop it works, and clicking the link brings you to the project section. Though sometimes it jumps to the bottom of the masonry instead of the top. On mobile it does not work: it shows a black screen after clicking on the menu. Do you have an idea how I can fix this?
Hope you can help me!
October 22, 2022 at 2:01 am #28478Hi there,
Welcome to SeaTheme forum.
Can you leave your webpage URL. I will check it.
Thanks
Regards!
SeaTheme – FAQs – WordPress Customization – FacebookOctober 22, 2022 at 8:52 am #28479Yes, ofcourse! it is https://merelwitteman.com/
Thank youOctober 23, 2022 at 11:38 am #28482Thanks
Please add the custom JavaScript codes by child theme or the Simple Custom CSS and JS plugin (how):jQuery(document).ready(function(){ jQuery('#navi .menu-item-766 a').on('touchstart', function(){ jQuery('#navi-trigger').trigger('click'); jQuery("html, body").animate({scrollTop:jQuery('#projects').offset().top}, 300); }) });—————
If it doesn’t work, could you please leave your wp-admin access (URL / username/password) by picking up “Set as private reply”?(If there is the Jetpack plugin, please disable “Allow users to log in to this site using WordPress.com accounts”)
Regards!
SeaTheme – FAQs – WordPress Customization – FacebookOctober 24, 2022 at 8:50 am #28484This reply has been marked as private.October 24, 2022 at 2:01 pm #28487October 24, 2022 at 3:34 pm #28488SUPER! Thanks a lot
-
AuthorPosts
- You must be logged in to reply to this topic.
