Ozzy47
Well-known member
So following this thread, https://xenforo.com/community/threa...ns-as-a-background-image.226257/#post-1713256
I have my less like described here, https://xenforo.com/community/threads/custom-prefixes.222693/#post-1688837
But when I try to save I get the error "Syntax error - Template modifications: public:extra.less"
I have my less like described here, https://xenforo.com/community/threads/custom-prefixes.222693/#post-1688837
But when I try to save I get the error "Syntax error - Template modifications: public:extra.less"
CSS:
.fr-box.fr-basic .fr-element:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url({$xf.style.getPropertyVariation('publicLogoUrl', 'default'}) no-repeat bottom right;
.m-colorScheme(dark {
background: url({$xf.style.getPropertyVariation('publicLogoUrl', 'alternate'}) no-repeat bottom right;
});
background-size: 300px; /* Adjust size as needed */
opacity: 0.2; /* Set opacity to 20% or whatever you prefer */
pointer-events: none; /* Make it non-interactive */
z-index: -1; /* Ensure it appears behind the text content */
}