• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

TJA

Well-known member
#8
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; }}
 

TJA

Well-known member
#9
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.
 
#10
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.
 

Russ

Well-known member
#11
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.