XF 1.1 How to make BG Scale with user resolution

xIsabel38

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.

 

xIsabel38

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.
 

Jeremy

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