Support » Theme: Olsen Light » Main Menu doesn’t work in mobile view

  • Resolved barrelleaf

    (@barrelleaf)


    Hi, thank you for the amazing theme first. I’ve been using this theme for a long time.

    But after updating the theme, I found that the main menu (on top of the page) doesn’t work in the mobile view.

    In other words, when I tap the “Menu” on my phone, the menu doesn’t appear (or is not triggered).

    I also use Google’s development tool on the desktop to test and it’s the same.

    The menu is very important for my website so I’m pretty worried.
    I would like to ask is there any way to fix this?
    Thank you.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Fotis

    (@markwaregr)

    Hi there,
    Are you using a child theme? You might need to review all your child theme files with the parent one, and copy any changes from parent to the child one, since we had major changes.
    Let me know if you need additional help with this.

    barrelleaf

    (@barrelleaf)

    Hi Fotis,

    Thank you for responding.

    I’m using a child theme right now.
    I’m not very familiar with the child theme (I mean like how it actually work. I used a plugin to create the child theme a long time ago.)

    I’m not very sure if I understand correctly. Does it mean that I need to compare all the files in my child theme with the ones in the parents and copy-paste the differences?

    And is there any specific file that I should look at?

    Thank you.

    barrelleaf

    (@barrelleaf)

    Hi Fotis,

    I’ve done some googling and read some articles regarding child theme.

    I was guessing it might be the enqueuing issue in function.php because I think the header and footer should not be the problem, and there’s only the basic info in style.css.

    However, I’ve tried different things (code I found online) to enqueue the parent theme but none of them work.

    I’m a little desperate here. Not sure how to fix it. 🙁

    Fotis

    (@markwaregr)

    Hi,
    not in functions.php but in header.php and footer.php is the problem (https://wordpress.org/support/topic/mobile-menu-no-longer-works/)
    Please recopy all files you have from the parent theme and re apply your changes
    (not functions.php)

    Let me know if you need additional help with this.

    Hi,

    I actually found the thread and did that (modify the header.php and footer.php).

    But the update (copy and paste) adds one menu on top of my site in the PC view and still doesn’t work in the mobile view.

    https://www.barrelleaf.com/

    I was really just copying and pasting so not sure why.

    I also just tried to use the parent theme and found that same problem (two menu bars on top and mobile menu not working).

    • This reply was modified 1 month, 4 weeks ago by barrelleaf.
    Fotis

    (@markwaregr)

    Hi,
    can you remove the files you have changed in the child theme and let me know if the menu works?

    Hi Fotis,

    I’ve recreated the child theme again based on the updated parent theme.

    The mobile menu is working now but there are two menu bars in the PC view and two social groups in the mobile view. Is it normal?

    Thank you.

    Fotis

    (@markwaregr)

    Hi,
    which one you want to keep? This is an option under Customize->Top bar options. To show/hide the top bar set/unset the menu in the top bar menu location

    Hi,

    I only want to keep the main menu.

    I didn’t notice the top bar options there before.
    Now I’ve unset the menu. Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.