Archived topic
Add elements in Navigation before toggle
5 replies · Started by David Perez Garcia on September 15, 2021
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?
Hi there,
Any chance you can link us to the site in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
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?