CSS Code to Add Background Image to Individual Pages
-
My website is:
https://www.jenna-miller-photography.com/
I only want my background image on my home page. I have tried EVERY code out there to only have it on my home page, but nothing works. Right now the code I am using is:
#main-container { background-image: url(https://farm9.staticflickr.com/8227/8367060024_5348825a46_h.jpg); background-repeat: no-repeat; background-position:center; }
Every time I change it to anything else, it disappears. I have tried inserting my page id and literally every code I found on here and still nothing. I would consider trying a code to take it away from the other pages too. Any advice would be great!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘CSS Code to Add Background Image to Individual Pages’ is closed to new replies.