XF 1.5 can user fields be used in EXTRA.css?

CrispinP

Well-known member
Hi folks,

Can this be done?

.userBanner.hasFlag
{
color: white;
background-image: url("/custom/images/flags/{$user.customFields.country_flag.value}");
background-repeat: no-repeat;
background-position: center;
}

It's not working for me but I'm not sure if it's just plain wrong of because it is in EXTRA.css.

if not, how else can I dynamically put a value into the background image?


Thanks
Crispin
 
Back
Top Bottom