Found this content helpful? Log in or sign up to leave a like!
CSS - Hide GlobalNav/Hamburger for public users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2024
08:15 AM
Hello,
We have a specific use case to hide the global nav for public users when viewing a course. I have successfully hidden this for laptop/desktop users using the no-user class to trigger off of. I do not see a similar class for the mobile version of the page. Does anyone have ideas on how I could hide either the hamburger icon and/or the global nav while viewing on mobile?
For example, here is what I am using for desktop
.ic-app-header.no-print.no-user {
display: none !important;
}
Thanks!