[Resolved] is there a global setting for background image in posts and login

Home Forums Support is there a global setting for background image in posts and login

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #310177
    sdanbu

    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/

    GeneratePress 1.3.46
    #310214
    Leo
    Staff
    Customer Support

    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?

    #310215
    sdanbu

    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…

    #310262
    Leo
    Staff
    Customer Support

    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);
    }
    #310327
    sdanbu

    Thanks
    By login page i mean the wordpress login or some plugins use a “sentry” template

    #310328
    Leo
    Staff
    Customer Support
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.