Search for: Log In Free Support [Resolved] Disable Dropdown Menu Click on third level sub menus Home › Forums › Support › Disable Dropdown Menu Click on third level sub menus This topic has 19 replies, 3 voices, and was last updated 6 months ago by Tom. Viewing 5 posts - 16 through 20 (of 20 total) ← 1 2 Author Posts October 14, 2020 at 1:03 pm #1489194 TomLead Developer Lead Developer How are you adding the script right now? Can you make it load in the footer?: https://developer.wordpress.org/reference/functions/wp_enqueue_script/ Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development October 14, 2020 at 3:11 pm #1489320 maxms OK, when I load it in the footer, the console shows the <li> tags for the menu items with my custom class. October 15, 2020 at 9:34 am #1490744 TomLead Developer Lead Developer Aha, progress. Now try this: https://generatepress.com/forums/topic/disable-dropdown-menu-click-on-third-level-sub-menus/#post-1479280 Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development October 15, 2020 at 10:11 am #1490807 maxms Yaaaaaas! It’s working! You are the absolute best. Thank you so much! October 15, 2020 at 10:16 am #1490815 TomLead Developer Lead Developer Awesome! You can remove both console.log() lines now. Glad I could help! 🙂 Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Ongoing Development: https://generatepress.com/ongoing-development Author Posts Viewing 5 posts - 16 through 20 (of 20 total) ← 1 2 You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In