I would like to disable theme option on the Frontend tool bar. Any help would be appreciated.
Thanks,
I would like to disable theme option on the Frontend tool bar. Any help would be appreciated.
Thanks,
Hi gnetsystems,
I believe you are referring on the top admin menu that appears on both backend and frontend. We can get rid of it using this code, however, this would also remove this on the top admin menu on the backend:
#wp-admin-bar-avia {
display: none;
}
or
#wp-admin-bar-avia {
display: none !important;
}
Hope this helps. :)
Regards,
Ismael
Not the solution I was expecting. I was looking for a hard coded solution that would allow hide the menu when the user is not logged in, as the menu is displayed to all users, I need it for backend user only. If you could point me in right direction that would help.
Thanks
Imho a plugin adds the admin bar to the top because (by default) the admin bar is only visible for logged in users. However you can try following css code:
#wpadminbar {
display: none !important;
}
.logged-in #wpadminbar {
display: block !important;
}You must log in to post.