Difference between revisions of "Modify Site Background Image or Colour"
From UnionCloud Support
(Page contents was incorrect and listed slide speed adjust not what title said) |
|||
Line 1: | Line 1: | ||
− | If you want to change | + | If you want to change your UnionCloud sites' Background Image, or Background Colour, and you have access to [[Global CSS]] you can do either of these things using the following lines of code: |
− | + | <pre> | |
− | + | body { | |
− | < | + | background: url(https://pathToImage.jpg) no-repeat center center fixed; /*FOR AN IMAGE*/ |
− | + | OR | |
− | + | background-color:color; /*FOR A COLOR*/ | |
− | + | -webkit-background-size: cover; | |
− | + | -moz-background-size: cover; | |
− | + | -o-background-size: cover; | |
− | + | background-size: cover; | |
− | </ | + | } |
+ | </pre> |
Latest revision as of 15:03, 8 July 2018
If you want to change your UnionCloud sites' Background Image, or Background Colour, and you have access to Global CSS you can do either of these things using the following lines of code:
body { background: url(https://pathToImage.jpg) no-repeat center center fixed; /*FOR AN IMAGE*/ OR background-color:color; /*FOR A COLOR*/ -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }