XF 2.0 How to upload a background?

Josh9955

Member
Hello everyone,

I would like to know if how I can upload an image to be my background of my forums. Please help me out, I have XF2 so there is no extra.css ... Thanks!
 
You can use Extra.less template to add that.

Use this code to add a background image but before you do make sure you upload whatever image you want to use to your server, typically in styles>default>xenforo>upload image here.

Code:
.p-body {



    background-image: url("styles/default/xenforo/your-background-image.png");

}

Replace the "your-background-image.png" part with your file name.
 
You can use Extra.less template to add that.

Use this code to add a background image but before you do make sure you upload whatever image you want to use to your server, typically in styles>default>xenforo>upload image here.

Code:
.p-body {



    background-image: url("styles/default/xenforo/your-background-image.png");

}

Replace the "your-background-image.png" part with your file name.
Thank you for the help. But it's not working...
 

Attachments

  • 93nfhDPNQB_AtqlhY9NRDg.webp
    93nfhDPNQB_AtqlhY9NRDg.webp
    13.1 KB · Views: 65
Back
Top Bottom