Site logo

Archived topic

Add elements in Navigation before toggle

5 replies · Started by David Perez Garcia on September 15, 2021

Viewing posts 1–6 of 6

Hello,
I've seen that there is a hook inside navigation that is: "generate_inside_mobile_menu_control_wrapper" but it's not working. This is my code:

add_action( 'generate_inside_mobile_menu_control_wrapper', 'cmk_menu_header', 10 );
/**
 * Enlace
 *
 * @return void
 */
function cmk_menu_header() {
	echo '<div class="home"><a href="#">GUÍA</a></div>';
}

Where is the problem?

In private comments ;)

Are you referring to the desktop or mobile or both?

Both. I'm thinking that in Mobile would be in the toggle menu...

Hi David,

Are you using Floats on Appearance > Customize > General? If yes, can you change it to flexbox?

This archived topic is closed to new replies.