Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 27, 20204 yr I have been looking into changing the websites background from a gradient color to a image. I am by no means proficient in css or html. If someone wouldn't mind maybe walking me through how to change the websites background I would appreciate the help.
July 27, 20204 yr For a fixed centered image like a wallpaper or something simply go to your AdminCP -> Customization -> Themes and click on the </> icon. Then click on the CSS tab, search for custom.css, copy & paste this code and click save. body { background: url("https://www.your-domain.com/path-to/your-image.jpg") no-repeat center center fixed; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
August 2, 20204 yr Author No it’s just a fixed image. But I’m having trouble with my SFTP to make a file for the image.
August 2, 20204 yr No it’s just a fixed image. But I’m having trouble with my SFTP to make a file for the image. You could use the theme resources system to upload your own image without the need for a ftp/sftp client
August 2, 20204 yr Author Okay I’ll look at that article later and probably go with that route. Thank you.
August 2, 20204 yr Author You could use the theme resources system to upload your own image without the need for a ftp/sftp client I followed this guide and there is no change to the website.
August 4, 20204 yr Does the image need to be a certain size? In my example css cover expands to full size.