• tljones

    (@tljones)


    I can’t seem to get the menu to work on mobile for my website. I am using the twenty twelve theme. I click on the mobile menu and nothing drops down or happens. I don’t think it is related to plugins. My website is https://www.circleheartbooks.com. Many thanks in advance for any help that anyone can provide!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you modified the theme?

    Thread Starter tljones

    (@tljones)

    Yes, I have a child theme that is active. I think the problem may lie somewhere in the child theme but I’m not sure where.

    I’m not a developer and am kind of piecing this all together, thank you again for any help from those with more knowledge than myself!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What files have you in your Child Theme?

    Thread Starter tljones

    (@tljones)

    I have a header.php and a style.css. The only thing I changed in the header was to move my logo above the menu.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you activate the original theme and check if the issue persists?

    Thread Starter tljones

    (@tljones)

    I activated the original theme and the issue did not persist. So it must me something in my child then, right? I took some screenshots and put them up on my site here.

    The first photo is what the screen looks like when you click on the word “menu” with the twenty twelve theme activated with no modifications. All the menu items show up in a list. The second photo is what is looks like with my child theme activated. Clicking on the “menu” button does nothing. Also, it seems that the icons at the top of the screen are all missing with the child theme active.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You’re missing a call to the “navigation.js” file, which is probably why nothing’s happening when you press the menu button.

    Can you copy all of the code of your header.php (child theme) file and put it into PasteBin and link us to that?

    Thread Starter tljones

    (@tljones)

    I finally had a chance to upload the text to pastebin today. I apologize for the slow response time!

    Here is the header text from my child theme:https://pastebin.com/hyEagGZU. It is identical to the parent theme header text except that I moved the yellow-highlighted lines 43-45 above line 46. They used to live between lines 50 and 51.

    That said, I did a test to see what would happen and I replaced the child theme header text with the exact same text as the parent theme (with yellow highlighted lines back in their original spot.) When I did that, the menu issue still persisted.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Twenty Twelve Mobile Menu’ is closed to new replies.