Deviating background image for Home Page and all others
BrianJA
Registered Users Posts: 43 Big grins
In the theme editing menu you can specify that you want the selected background image to appear on the home page only.
In addition, I would like to be able to specify an alternate background image (like a subtle texture) to be applied to all pages that are NOT the home page.
This would allow me to use a single theme applied site-wide.
Thank you.
In addition, I would like to be able to specify an alternate background image (like a subtle texture) to be applied to all pages that are NOT the home page.
This would allow me to use a single theme applied site-wide.
Thank you.
0
Comments
I'd love to have a different background image on each gallery, but it would make my site difficult to maintain as it stands.
Same Here.
body {
background-attachment: fixed;
background-image: url (http://YOURBACKGROUNDIMAGE.jpg};
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
Obvs might have to adjust parameters to match the rest of your site.
Interesting. Thank you. So would I have to create a separate theme for the pages that I want to have the custom background and then I would add this into the custom CSS for that theme? Or is there a way to specify what pages this CSS gets applied to and use a single theme?
You can have the same theme on all pages, but then hit "make this gallery custom" and then add a CSS box onto each gallery, I guess the downside is that future "entire site"/all galleries" design changes won't propagate down.
So either we'd have to manually copy over changes to the theme, or we'd have to manually copy over changes to All Galleries customization.
I prefer the CSS way, for my main galleries I'll be having individual gallery customisation anyway, and themes are a pain to recreate each time, whereas the CSS only needs one line changing per gallery.
Neither way is ideal though!