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

Apply user group text colour to underline on hover

Let's draw a line under this problem

  1. Brogan

    Brogan XenForo Moderator Staff Member

    Brogan submitted a new resource:

    Apply user group text colour to underline on hover - Let's draw a line under this problem

    Read more about this resource...
     
    ! semoo jordan ! likes this.
  2. print screen Brogan
     
  3. Shelley

    Shelley Well-Known Member

    Thanks @Brogan (I applied this months ago) very useful tip.
     
  4. xIsabel38

    xIsabel38 Well-Known Member

    This simple tweak really helps out a lot. It even works with the Featured Threads Add-on.

    [​IMG]

    Thanks a lot for this!
     
  5. Amaury

    Amaury Well-Known Member

    I've been using this code a for a long time, and it works great, but I just noticed it doesn't seem to work on banned members:

    Test.png
     
  6. Amaury

    Amaury Well-Known Member

    Any help? :)
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    It works for me.
    It could be a conflict with your style or other changes.
     
    Amaury likes this.
  8. Amaury

    Amaury Well-Known Member

    Yes, it appears so. It works properly on the default style.

    And I just found the issue while typing this reply. This was in the EXTRA.css template below your code:

    Code:
    /* Username Styles */
    
    .username .banned {
        text-decoration: none !important;
    }
    
    /* Username Styles */
    Not sure who added it, but removing it fixed the issue.
     
    arijit likes this.
  9. Amaury

    Amaury Well-Known Member

    Oh, derp. It was me. I added it to remove the strike-through banned members had.

    I'll post in the appropriate forum to figure out how to remove the strike-through without affecting the underline for banned members.
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    Edit the username_styles.css template and remove it from there.
     
    Amaury likes this.
  11. Amaury

    Amaury Well-Known Member

    Thanks, Brogan! (y)
     
  12. Amaury

    Amaury Well-Known Member

    Ran into another roadblock. Does this not extend to signatures because of the different structure (I would guess)? Tried on the default style with the only customization being your CSS code:

    Signature 1.png

    Also happens with signatures on profiles under Information and on posts.

    Thanks in advance. :)
     

Share This Page