XenForo Switch image when switch light/dark mode

M

mcatze

Guest
I use a user field with an image in the message template. When I use the light mode the image is visible, if I switch to dark the image isn't visible. Is there a trigger and/or can I use a if/else statement in the custom user field entry in the app?

Code:

Code:
if light mode > image001
if dark mode > image002

Bildschirmfoto 2024-07-15 um 17.07.34.webp

Continue reading...