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

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


Well-known member
Hi folks,

Can this be done?

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?



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 :(