XF 1.5 Can we remove the moderation bar from mobile/responsive view?

borgqueenx

Active member
Licensed customer
I dont want me and my moderators to see the moderation bar while browsing the mobile site.
 
by the way @TJA , this unfortunatly does not work in landscape mode on my mobile :( portrait works fine.
Code:
@media (max-width:@maxResponsiveMediumWidth)
{ #moderatorBar { display: none; }}
Code:
@media (max-width:@maxResponsiveWideWidth)
{ #moderatorBar { display: none; }}
 
is there also a way for the secondary navbar to disappear? the one under the main navigation. in mobile only.
Code:
@media (max-width:@maxResponsiveNarrowWidth)
{ .tabLinks { display: none; }}

@media (max-width:@maxResponsiveMediumWidth)
{ .tabLinks { display: none; }}

@media (max-width:@maxResponsiveWideWidth)
{ .tabLinks { display: none; }}

Take you pick, if you want landscape mobile you may want to use the Medium one.
 
Code:
@media (max-width:@maxResponsiveNarrowWidth)
{ .tabLinks { display: none; }}

@media (max-width:@maxResponsiveMediumWidth)
{ .tabLinks { display: none; }}

@media (max-width:@maxResponsiveWideWidth)
{ .tabLinks { display: none; }}

Take you pick, if you want landscape mobile you may want to use the Medium one.
thanks that works, but it kinda messes up the looks. i now have a open spot, instead of the site moving up to fill the hole/gap.
 
thanks that works, but it kinda messes up the looks. i now have a open spot, instead of the site moving up to fill the hole/gap.

Style properties -> [xb] header and navigation -> remove header proxy, check that option is one way of easily correcting it.
 
Back
Top Bottom