XF 1.5 Go to first unread

Brogan

XenForo moderator
Staff member
#2
Yes.

It's controlled by the page_nav.css template:
Code:
<xen:if is="@enableResponsive">
@media (max-width:@maxResponsiveMediumWidth)
{
    .Responsive .PageNav .pageNavHeader
    {
        display: none;
    }
}

@media (max-width:@maxResponsiveNarrowWidth)
{
    .Responsive .PageNav .unreadLink
    {
        display: none;
    }
}
</xen:if>
 

Temery

Active member
#3
Thanks. If I want it to show up on mobile devices, do I simply delete that template?

Yes.

It's controlled by the page_nav.css template:
Code:
<xen:if is="@enableResponsive">
@media (max-width:@maxResponsiveMediumWidth)
{
    .Responsive .PageNav .pageNavHeader
    {
        display: none;
    }
}

@media (max-width:@maxResponsiveNarrowWidth)
{
    .Responsive .PageNav .unreadLink
    {
        display: none;
    }
}
</xen:if>
 

Brogan

XenForo moderator
Staff member
#4
Delete the code within the template, not the template itself.

You may require further CSS tweaks to get everything to display correctly.
 

Temery

Active member
#5
Delete the code within the template, not the template itself.

You may require further CSS tweaks to get everything to display correctly.
That worked. Thank you.

I'm curious though - I thought the script used cookies to send a user to the first unread message. Why the need for the button?
 

viper357

Active member
#9
How do I now go to the first unread post in a thread on XF2? Because when I click on the button in the subscription emails it just takes me to the first page of the thread?
 
Top