We are using Moodle 3.2.1 with the Boost theme. I'm looking to hide the hambuger button in Boost theme before log in.
Any help would be appreciated, thanks.
Hi,
You could try this in the Sit Administration > Appeaance > Boost > Advance settings > Raw SCSS(2nd box)
.notloggedin .container-fluid.navbar-nav > div { display: none; }
I have increased the font size so you can see that this SCSS uses lots of dots that need to be as you see them.
Hope this helps?
Mary
Hi,
Perfecte. Thanks, Mary.
Xavier
Hi,
I would like to Hide Hamburger button in Boost, after log in.
Please, help me!
The CSS is the same but without .notloggedin
Hy Mary,
Thank You! Perfect!
But, I've one (or two) other problem.
I'd like to customize the Stundent's Administration tree,
There is a picture. This Stundent not enrolled to any courses. On the Adtministration menu tree has a Grades and a Badget link.
I'd like to remove (hide, delete, ... ) these links, because this Student hasn't got a course. (Badges not in used, so it's unnecessary)
But, when another Student will enroll an Exam course, he will can view the Grades.
Can I set this menu tree to this option?
I think, maybe this is a More style...
Thank You!
By: Milan
Sorry, but I am confused now.
This discussion is about the Hamburger icon in the Boost theme. This is NOT about all the links in the Administration block in the More theme.
If you need help with that block then ask a question in the Blocks Forum
Same too for Mobile problems ask for help in the Mobile Forum.
Thanks
Mary
Hy Mary,
the hamburger button is visible, when i visit the page via mobile. I changed the theme to More. Can I remove the hamburger button?
Thx!
Milan
Mary,
This worked great to remove the Hamburger button. However, when I run this code the Log In/Log out link link and dropdown for changing roles is also removed. Is there a workaround to this?
Ray
Hi Ray,
Do you want to remove the nav-drawer after login as well? In this case, try this (otherwise write .notloggedin before the rest
[data-region="drawer-toggle"] button { display:none; }
Be careful though. If the drawer has been used before, people having left it open on last logout will see the drawer on their next login and won't be able to hide it !
I you want to completely remove the nav-drawer from your moodle instance you'll have to reset to false "drawer-open-nav" user preference in your database for all user.
Cheers
Hi Ray,
To keep the nav-drawer open permanently:
Cheers