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

XF 1.4 Custom background for a group

Discussion in 'Styling and Customization Questions' started by Zephyr, Jan 18, 2015.

  1. Zephyr

    Zephyr Well-Known Member

    Hello, this code don't work, why please ?

    Code:
    html {
        background: url('@imagePath/xenforo/witcher/bg-header.jpg') center 25px no-repeat black;
         <xen:if is="{xen:helper ismemberof, $visitor, '2'}">
            background: red !important;
         </xen:if>
    }
    Red background is not displayed for registred members.
     

Share This Page