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

XF 1.4 Changing Copyright Color?

Discussion in 'Styling and Customization Questions' started by Rum Runner Entertainment, Jul 20, 2015.

  1. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

    I've been trying to change the color of the copyright text at the bottom to obviously make it more visible, but I haven't been successful. Any help?

    Thanks.
     
  2. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

    Nevermind, got it all figured out.
     
  3. Amaury

    Amaury Well-Known Member

    For reference for anyone else who may need help, what did you do?
     
  4. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

    I added this code into EXTRA.css:
    Code:
    #copyright
    {
        color: white;
    }
    "#copyright a" ended up not working for me. So that's the code I added above^.
     
  5. Amaury

    Amaury Well-Known Member

    That's because !important is being used (by default) in the xenforo.css template:

    Code:
    .concealed,
    .concealed a,
    .cloaked,
    .cloaked a
    {
        text-decoration: inherit !important;
        color: inherit !important;
        *clear:expression( style.color = parentNode.currentStyle.color, style.clear = "none", 0);
    }
    
    a.concealed:hover,
    .concealed a:hover
    {
        text-decoration: underline !important;
    }
    You'll need to use your own !important:

    Code:
    #copyright a {
        color: @primaryMedium !important;
    }
    You can change the color to use another color palette item or hard-code it with a specific color.

    If you'd like to change the hover effects, use this and be sure to, once again, add !important at the end:

    Code:
    #copyright a:hover {
    }
     
  6. Rum Runner Entertainment

    Rum Runner Entertainment Active Member

    Oh I see, alrghty. Yup, changed that.
     
    Amaury likes this.
  7. ActorMike

    ActorMike Active Member

    What about if you want to change the color of the hyperlinks in the extra_copyright phrase to #FFE000 ?
     

Share This Page