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

Using @contentBackground in external PHP script

AndyB

Well-known member
#1
Hello,

I'm creating an add-on which uses an external PHP script, the script is being called by XenForo in an iFrame. The script has its own CSS where I define the following:

Code:
.wrapper {
    margin: 0 auto;
    padding: 1em 2em;
    display: inline-block;
    background-color: @contentBackground;
    border: 1px solid @primaryMedium;
    border-radius: 5px;
}
The @contentBackground works properly, however the @primaryMedium does not. Can someone please explain why only the @contentBackground is working.

Thank you.
 
Last edited: