Lukas W.
Well-known member
Is there a way to use a custom variable in the xenforo templates? I want to implement a background changer with a picture url stored into a cookie. Currently I am changing the background picture with jQuery every time the page is loaded but this is more than inefficient.
Best way would be to store the cookie value somewhere in the templates into a variable like the font-colors and then be able to open it in css whereever needed with something like '@background' or so. Is this possible?
Best way would be to store the cookie value somewhere in the templates into a variable like the font-colors and then be able to open it in css whereever needed with something like '@background' or so. Is this possible?