Custom background image on one page
-
Hi there,
I am looking for a solution to my custom CSS section. I am trying to get a custom background for my homepage because my background is my logo and my logo is already on my home page anyways.
I currently have this as my CSS so my background will be fixed on mobile devices as well.
body:before {
content: “”;
display: block;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: -10;
background: url(https://the-rns.us/wp-content/uploads/2019/03/otherbg.png) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;}
When I go to set my background using my custom page id it does not change anything.
Any suggestions?
- The topic ‘Custom background image on one page’ is closed to new replies.