Disable Login/Register from mobile menu
-
Hi,
I have tried to disable “LOGIN/REGISTER” from my mobile menu by using the following CSS:
.menu-item-my-account, .menu-item-wishlist{
display:none!important;
}
body .site-mobile-menu .login-side-opener{
display:none;
}
However it seems that it works only for logged in users. When I am logged out I still see the “Login/Register” on my mobile menu.
How can I deactivate it for both logged in & un-logged users? I want to have the Account icon only at the main header of my mobile appearance and not at the slide menu.
Waiting for your further advice!
Attachments:
You must be
logged in to view attached files.
Hello,
You can use the below CSS code in global custom CSS are under theme settings to hide the login/register from mobile sidebar menu.
.mobile-menu-tab .my-account-with-text{
display:none;
}
This will work for both login as well as log out users also.
Best Regards.
Thank you, the CSS worked correcly.
Well, d_ch!.., it’s been great chatting with you! I hope I resolved your issues thoroughly.
Let us know if there’s anything else we can do for you! You can always reach us at any time. We are always here to help you.
Have a wonderful day.
Topic Closed.
Best Regards.
The topic ‘Disable Login/Register from mobile menu’ is closed to new replies.