Home › Forums › WoodMart support forum › Mobile menu not working › Reply To: Mobile menu not working
leonardobruno
I managed to find a solution, but only by editing the theme codes.
The code in question is the onePageMenu function, which is in the file wp-content / themes / js / functions-min.js. It was causing an error and preventing the file from being fully executed.
What I did was remove this code from that function, since my site does not use One Pages. In doing so, the menu worked correctly.
I found that this code snippet was causing an error because when inspecting the site, on Console, it was the following message: uncaught TypeError: Cannot read property ‘split’ of undefined
I would like a definitive solution to this problem, since it is not ideal to change the theme files, or remove functions from it. Would an update be possible?
Attached the updated file.
Best Regards.