XF 1.1 How to make BG Scale with user resolution


Well-known member
As the title says, I'm trying to get my XF BG to be like an auto width. I tried using Auto however and the image just isn't scaling on different sizes.

These are the settings I found that worked best so far but they aren't enough apparently, or I'm doing something way wrong.



Well-known member
Does the CSS background-size: contain; not work?
You may want to try background-size: cover; also.
I don't know CSS so hence why I asked here. I have no idea what anything you said really means, but regardless, I did try the background contain thing and I think that worked, so thank you.


Well-known member
Add something like this into a template:
<xen:require js="/path/to/this.js" />
XenForo should handle the translation and placement of the code.