Site logo

Archived topic

Custom Hook inside and at the end of #mobile-header

9 replies · Started by René on November 23, 2022

Viewing posts 1–10 of 10

Hi Rene,

Does after_header work for you?

It's the same that we will need to use CSS to hide it on the desktop.

Let me know!

Thanks for the fast reply. But no, it has to be within the menu.

Hi there,

there isn't a hook there.
The closes hook comes BEFORE the closing </div><!-- .inside-navigation --> and that is generate_after_primary_menu

Why does it need to be after the closing div ?

The Menu have to look like this. It should also have on mobile 100vh (with the button in the menu).

Preview

You should be able to use generate_after_primary_menu hook. As that appears immedieately after the menu. It may require a little CSS break out the containment, but i can help with that if you require.

The button has to be within the menu. Just thought about creating another menu item and styling the CSS. However, it is difficult for me to get the 100vw width of the background then.

The button has to be within the menu.

So do you want it in the Menu now ?

If you add it to the menu, and let me see it, i can provide some CSS to make it look like the above

Unfortunately, I'm not allowed to do that :/ Maybe my colleague can do it. Thank you anyway.

OK, let us know if you need any assistance with that.

This archived topic is closed to new replies.