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
 

CrispinP

Well-known member
Actually - I see that it's all wrong. I want that in the postbit to show their country flag but extra.css is all wrong. Never mind :(
 
Top