Jump to content

Featured Replies

Posted

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. 

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;
}

 

  • Author

Thanks I’ll try that. 

Does the image need to be a certain size?

  • Author

No it’s just a fixed image. But I’m having trouble with my SFTP to make a file for the image. 

 

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 

 

  • Author

Okay I’ll look at that article later and probably go with that route. Thank you. 

  • 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.

 

Does the image need to be a certain size?

In my example css cover expands to full size.

Recently Browsing 0

  • No registered users viewing this page.