• 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


Well-known member
Hello, this code don't work, why please ?

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;
Red background is not displayed for registred members.