Archived topic
is there a global setting for background image in posts and login
5 replies · Started by sdanbu on April 25, 2017
This could be really simple but is there a way to change the background image in a post AND login?
I was using a plugin for responsive backgrounds and it changed the background behind all my posts AND for the login... (Maybe it is the site background that usually shows behind posts but not for the login.)
Is there a global setting for background image in posts?
I tried looking up this:
https://generatepress.com/forums/topic/setting-background-image-for-a-post/
Hi Scott,
Sorry a little confused about the question.
Are you looking for a way to set a background image for all single posts? and how is the login page created?
Yes I'm looking for a way to set background image for all single posts
AND
I'm also looking for a way to change background image for login page
I used a plugin one time that changed both at the same time so I was just wondering if there is a way to do both in GP. I saw under customize that there is a feature for background...
To add a background image to all single posts, you could try CSS like this:
.single .inside-article {
background-image: url(http://IMAGE-URL-HERE);
}
I'm not really sure what a login page is? It's not something default from GP.
If it's just a normal page created in Dashboard then you can find the page id then try:
body.page-id-xx {
background-image: url(http://IMAGE-URL-HERE);
}
Thanks
By login page i mean the wordpress login or some plugins use a "sentry" template
This might help: https://generatepress.com/forums/topic/customize-login/#post-233684