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

Using - color: @primaryMedium;

Discussion in 'Troubleshooting and Problems' started by Xarcell, Dec 7, 2010.

  1. Xarcell

    Xarcell Well-Known Member

    So i'm trying to get
    Code:
        color: @primaryMedium;
    in my css code for a module to use in Jaxel's XenPorta mod.

    I cannot get it to work. Any thoughts on this? Is there something I'm missing?
     
  2. Trombones13

    Trombones13 Well-Known Member

    Could you show more of the code so we know exactly what you're trying to change the color of?
     
  3. Brogan

    Brogan XenForo Moderator Staff Member

    That's the correct syntax.

    You may need to use the !important declaration depending on where you're using it.
     
  4. Xarcell

    Xarcell Well-Known Member

    It's for a quote module to be used with XenPorta by Jaxel.

    Code:
      .bq {
        font-family: "WCManoNegraBta";
        font-size: 190%;
        color: @primaryMedium;
     }
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    Have you tried using:
    HTML:
      .bq {
        font-family: "WCManoNegraBta";
        font-size: 190%;
        color: @primaryMedium !important;
     }
    I don't know how the css is set up for XenPorta though so the !important declaration would only be required if the same class is being applied later.
     
  6. Xarcell

    Xarcell Well-Known Member

    Tried it, didn't seem to work.

    Any other ideas?

    FYI: "WCManoNegraBta" font-family is a ttf, using @font-face.
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Can you post a link?
    I need to see the css to investigate why it isn't working.
     
  8. Xarcell

    Xarcell Well-Known Member

    Let me try upgrading everything first. I'm still running beta 3 and old version of xenporta,
     
  9. Brogan

    Brogan XenForo Moderator Staff Member

  10. Xarcell

    Xarcell Well-Known Member

  11. Shadab

    Shadab Well-Known Member

    Checking the (output) source for your portal, the "@primaryMedium" part is being shown as-it-is. That could be because the template (module?) is not being compiled. The style properties are changed to native php code when a template is compiled. So if that step is skipped, you won't be able to take advantage of the color palette or style properties.
     
    Brogan and Jake Bunce like this.

Share This Page