1. 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)

Discussion in 'Closed Suggestions' started by Russ, Jan 5, 2014.

  1. Russ

    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.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
     
    Adam Howard, Steve F and Nudaii like this.

Share This Page