Site logo

Archived topic

generate_after_mobile_menu_button hook issue

5 replies · Started by George on December 30, 2020

Viewing posts 1–6 of 6

When adding a block element and set it to the generate_after_mobile_menu_button hook, the block seems to be visible on the left side of the nav area on the desktop view. Shouldn't that hook be active only on the mobile view?

Hey George,

That's a good point :)

I don't think this can be improved though as we are using display: block; to display the toggle on mobile:
https://www.screencast.com/t/EYdNNia8yZ

I'll ask Tom about this.

For now, the workaround would be adding the hide-on-desktop hide-on-tablet classes to your content.

Let me know if this helps :)

Hi Leo. I was just testing it by accident and thought was a bit weird. Your solution is a good workaround, though. Shall I leave the thread open until you hear from Tom about it?

I just wanted to know if this was actually a bug and could be solved for the next release. Hopefully, Tom will have a look at it.

Thank you Leo!

It's not a bug.

Thanks for pointing it out though - it's new to me too :)

This archived topic is closed to new replies.