Mave
Active member
In SMF I had this code:
Example of today would be https://forums.themavesite.com/images/header-bg30.jpg
Where would I put code like this in Xenforo's framework? I can only find app.header.less (which is only css)
Code:
$currentdaynumber = date("d");
$selectedBg = "header-bg". $currentdaynumber;
echo '<style type="text/css">
<!--
#header-container{
background: url(images/' . $selectedBg . '.jpg) 50% 0;
}
-->
</style>';
Example of today would be https://forums.themavesite.com/images/header-bg30.jpg
Where would I put code like this in Xenforo's framework? I can only find app.header.less (which is only css)