- This topic has 8 replies, 3 voices, and was last updated 3 years, 2 months ago by
David.
-
AuthorPosts
-
February 19, 2023 at 11:54 am #2539065
Mikki
Hello. I created a menu_bar_items hook which is displaying correctly on the desktop; however, it does not appear in the off-canvas panel on mobile. I’m wondering if I’m using the wrong hook name or if I need to create two hooks: one for desktop and one for mobile. Sorry for the newbie question!
Here’s the site: https://parentsclimatecommunity.org
Thanks in advance!
February 19, 2023 at 6:03 pm #2539197Fernando Customer Support
Hi Mikki,
Yes, if you want it to appear in the Off-canvas panel as well, you’ll need to create another copy of the hook and hook it to
after_slideout_navigationorinside_slideout_navigation.February 19, 2023 at 7:24 pm #2539246Mikki
Thanks, Fernando! I created a duplicate hook as suggested, but it still isn’t showing. I tried making the menu item height extra large to see if there just wasn’t enough space for it, but that didn’t seem to make a difference. I’ve tried to disable and/or purge cache wherever I can think of too just in case that was an issue, but that hasn’t been successful either. Any other suggestions?
February 19, 2023 at 7:33 pm #2539250Mikki
Oh, and I was using one menu for both the primary nav and the off-canvas panel, so I tried creating a separate one just for the off-canvas panel, and that doesn’t seem to work either.
February 19, 2023 at 8:57 pm #2539293Fernando Customer Support
Can you provide admin login credentials so I can take a closer look as to why it isn’t working?
Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
February 20, 2023 at 8:34 am #2540082Mikki
Sure! Thanks again for taking a look!
February 20, 2023 at 10:20 am #2540219David
StaffCustomer SupportHi there,
the button that you have hooked into the off canvas panel, has the
hide-on-mobileCSS class. Can you remove that ?February 20, 2023 at 10:42 am #2540246Mikki
Well, that’s embarrassing! I’d blame it on a lack of coffee, but I’m pretty sure it’s my beginner skills. 🙂 It’s in the off-canvas panel now and just needs some spacing adjustments. Thank you very much for your patience with me, and have a great day!
February 21, 2023 at 3:01 am #2540941David
StaffCustomer SupportGlad to be of help 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.