AndyB
Well-known member
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:
The @contentBackground works properly, however the @primaryMedium does not. Can someone please explain why only the @contentBackground is working.
Thank you.
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: