Guides › HTML / PHP sites › Forms, plugins & updates

Mobile Menu Not Opening: JavaScript and CSS Troubleshooting

Hamburger menus fail because of script errors, missing files or conflicting CSS.

Reference guide. This guide is written from established practice and the official documentation of the tools involved. We have not yet tested every step on a live demo site. Back up your site before you change anything.

Check

  1. Open the console on a mobile-size window. Look for red errors. See reading the browser console.
  2. Is the script file loading (200 status)?
  3. Does the button's selector match the JavaScript's?
  4. Does CSS hide the menu with display: none and never switch it?
  5. Is a sticky header or overlay covering the button, blocking clicks?
  6. In WordPress, a plugin conflict or minify setting may break it. See finding a plugin conflict.

Test on a real phone, since emulators miss some touch behavior.

Related guides

Did this solve it? If not, email hello@sitefixlab.org with the exact error text and we will look into it. Try the problem finder.

Last updated 2026-11-21.