Creating Mobile Menu / Fixing Slicknav?
-
Hello! I’m afraid this is a bit of a broad question. I’ve spent two days trying to set up a responsive mobile menu for this site. I’ve tried:
-Three plugins (Responsive Menu, WP Mobile Menu, and Toast Mobile Menu)
-Following along with three different tutorials for coding it myself using JQuery toggling:
—–https://wisdmlabs.com/blog/4-easy-steps-to-adding-a-mobile-menu-on-your-wordpress-website/
—–https://www.wpbeginner.com/wp-themes/how-to-create-a-mobile-ready-responsive-wordpress-menu/
—–https://bhoover.com/simple-jquery-mobile-menu/
-At this point I realized my theme comes pre-equipped with slicknav, but that doesn’t work either. I played around with it for a while and read the slicknav documentation but haven’t had any luck. Both with this and the above toggling methods, I made sure I was writing JQuery that was appropriate for WP, loading it first, successfully loading the JS files, hard reloaded and cleared cache to make sure I was seeing changes, carefully looked for conflicts with my theme code, carefully debugged with dev tools and console.logs, etc.
-I have made some changes to some theme files in the past, so carefully compared between the original theme files and my versions to check whether I broke anything in the pertinent files. mobile.css, slicknav.css, and jquery.slicknav.js are exactly the way they were originally. Each of the changes between the versions of the header.php, functions.php, and style.css files I can account for and make sense of (changing some colors and fonts, removing a sidebar, adding a follow button, nothing too convoluted). Nothing causes errors or looks broken.I’m so incredibly frustrated and I don’t know what else to try. Does anyone have any general advice, routes I haven’t tried yet, or ideas about what might be keeping every avenue from working on this? I figure making my slicknav menu work is probably the path of least resistance, but almost all the files involved are identical between my current files and the ones I originally downloaded, and none of the differences go near anything to do with menus or navigation, so I’m just not sure what to do. I’ll also take any plugin or tutorial recommendations, and any ideas about anything super obvious I may have missed that’s making every possibility not work.
At this point I’m half expecting some extremely obvious file somewhere that says the equivalent of “if(going to make a mobile menu){don’t}” lol but I’m just not seeing it.
You can see a live demo of the original theme here, which I’ve been inspect-element-ing in vain to try to figure out *what* the difference is that makes their slicknav menu work and mine not show up: https://dessign.net/gridly-free-theme/
Thank you for any and all help, words of encouragement, and advice! ??
The page I need help with: [log in to see the link]
- The topic ‘Creating Mobile Menu / Fixing Slicknav?’ is closed to new replies.