How can I set my mobile menu to open by default on the Brooklyn theme?

Hello!!

I was wondering how I would could one of my main menus, ‘FAQ’, to be open as default only on mobile.. Any help would be greatly appreciated.

theme: Brooklyn

useful info: I am using gempages app builder!

website: https://galepets.com/

password: xd2021

Thank you! :slightly_smiling_face:

Hi @tomgmg ,

Just want to confirm, do you want when clicking the menu on the Mobile, the ‘FAQ’ will be opened as default, like this image below?

if it is correct, so in this case, we need to add small javascript code to active this menu item on the mobile. You could try to add this snipet code below before in your theme.liquid. To access theme.liquid, you could go to:

  1. go to Online Store > Themes
  2. Click Actions > Edit code.
  3. Search theme.liquid

Please try it and let us know if it is good for you, and if you need any further assistance or concerns please don’t hesitate to let us know via email ( support@gempages.help ) or livechat. We’re always happy to help!

1 Like

thank you, this works perfectly.