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

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Russ

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

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
 
Upvote 3
This suggestion has been closed. Votes are no longer accepted.
Back
Top Bottom