File tree Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 111
111
112
112
// * hide entire Navigaion Menu from anon in desktop and mobile view* * //
113
113
114
- // @if $show_navigation_menu_to_logged-in_only =="true" {
115
- // html.anon {
114
+ @if $show_navigation_menu_to_logged-in_only == " true" {
115
+ html .anon {
116
116
117
117
// Hide the narrow desktop sidebar
118
118
// sidebar mobile version which is activate on desktop too under 1000px width
119
- // .d-header .hamburger-panel {
120
- // display: none;
121
- // }
119
+ .d-header .hamburger-panel {
120
+ display : none ;
121
+ }
122
122
123
123
// Hide the header cloak when menu opens
124
- // .header-cloak {
125
- // display: none !important;
126
- // }
127
- // }
128
- // }
124
+ .header-cloak {
125
+ display : none !important ;
126
+ }
127
+ }
128
+ }
129
129
130
130
// * menu sections re-order * //
131
131
Original file line number Diff line number Diff line change @@ -46,6 +46,12 @@ hide_custom_menus_globe_icon:
46
46
description :
47
47
en : " Hide the custom menu globe icon from staff (this setting only affects staff, since non-staff cannot see the globe by default)."
48
48
49
+ show_navigation_menu_to_logged-in_only :
50
+ type : bool
51
+ default : false
52
+ description :
53
+ en : " Show entire navigation menu for only logged-in users (hide the entire menu from anonymous users)."
54
+
49
55
default_menu_section_ordering :
50
56
type : list
51
57
list_type : simple
You can’t perform that action at this time.
0 commit comments