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

Implemented Log Out Button Does Not Have Class

Discussion in 'Closed Suggestions' started by Teapot, Mar 19, 2013.

  1. Teapot

    Teapot Well-Known Member

    A fairly simple request - the alerts and inbox tabs have "alerts" and "inbox" classes, but the log out button does not. This means I have to do a manual template edit to add icons to all four user area buttons. See:
    HTML:
        <li class="navTab account Popup PopupControl PopupClosed  PopupContainerControl">
        <li class="navTab inbox Popup PopupControl PopupClosed PopupContainerControl">
        <li class="navTab alerts Popup PopupControl PopupContainerControl PopupClosed">   
        <li class="navTab PopupClosed">
    
    The last item should have a "logout" class - although I can add it via a template edit, it would be easier to have it in core.

    Thanks! :)
     
    Shelley and Forsaken like this.
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Moved from bugs to suggestions.
     
    Chris D likes this.
  3. Chris D

    Chris D XenForo Developer Staff Member

    You should be able to target it in CSS quite easily... although it doesn't explicitly have its own class, the following selectors should only ever apply to the logout link:

    Code:
    .visitorTabs .PopupClosed .visitorTabItem
     
  4. Teapot

    Teapot Well-Known Member

    My apologies, I wasn't sure where to put this. :)
     
  5. Forsaken

    Forsaken Well-Known Member

    Had to do the same with one of my styles, would really help if this were done.
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    I've flagged it to Mike.
     
    Teapot likes this.
  7. Mike

    Mike XenForo Developer Staff Member

    Added a "logout" class to the li.
     

Share This Page