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

XF 1.4 Remove Underline When Hovering over Copyright Link

Discussion in 'Styling and Customization Questions' started by Amaury, Nov 12, 2014.

  1. Amaury

    Amaury Well-Known Member

    I'm making some changes, and one of those changes is having the links change color when being hovered over instead of underlining.

    I added this to EXTRA.css, and while the color took effect, the no decoration did not. What I am missing?

    Code:
    #copyright:hover {
        color: @contentText !important;
        text-decoration: none !important;
    }
    As you can see, the underline is still there.

    http://www.kh-flare.net/forums/
     
  2. Russ

    Russ Well-Known Member

    Code:
    #copyright a:hover {
    text-decoration: none !important;
    }
    
     
    Amaury likes this.
  3. Brogan

    Brogan XenForo Moderator Staff Member

    Code:
    #copyright a.concealed:hover
    {
        text-decoration: none !important;
    }
     
    Amaury likes this.
  4. Amaury

    Amaury Well-Known Member

    Both of these solutions work! Thanks, guys!
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    @Russ's solution is better as it uses 9 less characters which will make the page load 0.0000000001 second faster.
     
    Amaury likes this.
  6. Russ

    Russ Well-Known Member

    You should of thought of that Brogan. Seriously man ? Brogan bot needs a firmware update.
     
    Amaury likes this.

Share This Page