XF 2.0 Top page navigation on mobiles

Mr Lucky

Well-known member
How do you get the top page navigation back for mobiles?

The default seems to be that you lose the top page navigtaion on phones.
 
Sorry.

core_pagenav.less change:

Less:
.block-outer:not(.block-outer--after) .pageNavWrapper:not(.pageNavWrapper--forceShow)
{
    display: none;
}


To:

Less:
.block-outer:not(.block-outer--after) .pageNavWrapper:not(.pageNavWrapper--forceShow)
{
    // display: none;
}
 
Great, thanks.

I note that doesn't work in extra.less, presumably due to it being commented out as opposed to being changed.

EDIT: But if I put this in extra.less it works

CSS:
.block-outer:not(.block-outer--after) .pageNavWrapper:not(.pageNavWrapper--forceShow)

{

   display: initial;

}
 
Sorry.

core_pagenav.less change:

Less:
.block-outer:not(.block-outer--after) .pageNavWrapper:not(.pageNavWrapper--forceShow)
{
    display: none;
}


To:

Less:
.block-outer:not(.block-outer--after) .pageNavWrapper:not(.pageNavWrapper--forceShow)
{
    // display: none;
}
Thanks, this worked for me. But now the navigation also shows in "What's new". Is there a way to disable it for What's new but keep it enabled for threads?
 
Back
Top Bottom