Hi @regalopromocional ,
Thanks for reaching out.
The active theme appears to have a Secondary Menu option.
See: https://share.zight.com/kpue41ZQ
You may check the active theme’s options/settings for an option to disable the Secondary Menu.
Alternatively, you could use this CSS snippet to hide the Secondary Menu:
.wd-header-secondary-nav {
display: none;
}
See our test: https://share.zight.com/2Nu9vJZw
You may use a plugin like Simple Custom CSS and JS to add the custom CSS to your site.
See this demo: https://share.zight.com/L1uyeGz0
Let us know how it goes.
<font style=”vertical-align: inherit;”><font style=”vertical-align: inherit;”>Gracias, </font></font>
<font style=”vertical-align: inherit;”><font style=”vertical-align: inherit;”>Con ese código </font></font>desaparece todo. Pero cuando accedo a mi cuenta no puedo ver el menú seleccionado para el usuario.
Video: https://www.loom.com/share/7a14f6bb4ee740448590bb44f37caa42?sid=593c49aa-8d66-4dc6-ad10-034d3af4be10
Lo que necesito es quitar el aviso “Menú seleccionado incorrecto” cuando el usuario esté desconectado.
Hi @israelmartins
¿Cómo podría quitar el texto solo cuando el usuario está desconectado?
Hi @regalopromocional ,
Thanks for your patience and response.
You may add this code snippet to the site to add the CSS [to hide the Secondary Menu] only when a user is logged out:
function hide_secondary_menu_if_guest()
{
/* Check whether User Menus is active */
if ( is_plugin_active( 'user-menus/user-menus.php' ) ) {
/* Check whether the user is logged out */
if ( ! is_user_logged_in() ) {
?><style>
.wd-header-secondary-nav {
display: none;
}
</style><?php
}
}
}
add_action('wp_head', 'hide_secondary_menu_if_guest');
You may use a plugin like Code Snippets or WPCode to add the snippet.
See how to do that: https://share.zight.com/v1uBO8yr
Let us know if that helps.