• Resolved carlcarlberger

    (@carlcarlberger)


    Hi!

    The hamburger menu isn’t clickable at all on my site. I have enabled “Show main menu on page header”, so on a computer the menu is expanded horizontally always, but if I shrink the browser-window horizontally it changes to the hamburger menu which is not clickable. Also on mobile/tablet the hamburger menu is always showing, and not clickable.

    How do I debug this, what could be wrong? I have tried disable all plugins and stuff, nothing changes anything.

    Thanks,
    Carl

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Carl,

    I was able to reproduce the issue by removing this code from line 169 in functions.php:

    if ( get_theme_mod( 'hamilton_alt_nav' ) ) {
    			$classes[] = 'show-alt-nav';
    		}

    Did you modify or replace your functions.php? Maybe try restoring the original file, either through the WordPress Editor or using FTP?

    Disclaimer: I’m not a web developer.

    Peace

    Thread Starter carlcarlberger

    (@carlcarlberger)

    Thanks for replying, @carbybarby838. Yes the theme is modified but I can’t see any differences in the functions.php-file, the code you mention is still there. I have switched to another theme for now, so I mark the problem as solved. Thanks again for your help! Peace be with you too

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t click hamburger menu’ is closed to new replies.