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!
 

ALMUSA

Well-known member
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.
 

Josh9955

Member
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.png
    93nfhDPNQB_AtqlhY9NRDg.png
    16.5 KB · Views: 40
Top