Adding a Background Image
jclguru
Registered Users Posts: 152 Major grins
Back in the 'old' days, I had code like this in my css...
/* background image - about me*/
body.gallery_23826316 {
background-attachment: fixed;
background-image:
url(http://www.thebirdphotographer.com/photos/i-gzDhVkV/0/M/i-gzDhVkV-M.png);
background-color: #4E5549 !important;
background-repeat: no-repeat;
background-position: left bottom;
}
This allowed me to place an image on the background of a specific page...kind of like wallpaper.
Of course now it doesn't work.
Anyway to adapt that to the new smugmug?
I'm assuming the code would go into a CSS block for the page I'm trying to add an image to?
Thanks
Doug
/* background image - about me*/
body.gallery_23826316 {
background-attachment: fixed;
background-image:
url(http://www.thebirdphotographer.com/photos/i-gzDhVkV/0/M/i-gzDhVkV-M.png);
background-color: #4E5549 !important;
background-repeat: no-repeat;
background-position: left bottom;
}
This allowed me to place an image on the background of a specific page...kind of like wallpaper.
Of course now it doesn't work.
Anyway to adapt that to the new smugmug?
I'm assuming the code would go into a CSS block for the page I'm trying to add an image to?
Thanks
Doug
0
Comments
Andy
background-size: cover;
to match the default background image I'm using.
Also got Paul's way to work. I had customize and Just This Gallery. Then pick a photo and give a theme a unique name for each page I wanted a different image.
Doug