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

Lack of interest Alert/Inbox Unread class naming(Small change please)

Russ

Well-known member
#1
Unless I'm missing something there's currently no way of styling the li or link for an unread Inbox/Alerts area.

I've made a small change to achieve this:

screen1.jpg

Concept uses the same idea that you guys use around the entire site for unread items.

Here's what I've done to achieve it:

navigation_visitor_tab
Code:
  <li class="navTab inbox Popup PopupControl PopupClosed {xen:if $tabs.inbox.selected, 'selected'}">
and
Code:
<li class="navTab alerts Popup PopupControl PopupClosed">
Replace with:

Code:
<li class="navTab inbox Popup PopupControl PopupClosed{xen:if {$visitor.conversations_unread}, ' unread'}{xen:if $tabs.inbox.selected, ' selected'}">
and
Code:
  <li class="navTab alerts Popup PopupControl PopupClosed{xen:if {$visitor.alerts_unread}, ' unread'}">
This will allow you to call upon the visitor tabs a little more selectively:

.visitorTabs .alerts.unread li or .visitorTabs .alerts.unread a, or in my case .visitorTabs .alerts.unread .fa