Would like to know how to change the background color in my footer on the home page when logged out

Would like to know how to change the background color in my footer on the home page when logged out

  • Tyler Postle

    Hey Joel,

    Hope you're doing well today and thanks for your question.

    is all of the white part you want to change? Or just the footer, which is that very bottom area underneath the line where the copyright is. I'm guessing it's all of the white part that you want to change so you can use this CSS:

    /* logged in colour */
    
    body.logged-in {
        background: none repeat scroll 0 0 #fff;
    }
    
    /* logged out colour */
    
    body {
    background: none repeat scroll 0 0 #000;
    }

    Change the colours as needed :slight_smile:

    If it is just that footer area then you can use this:

    /* logged in colour */
    
    .logged-in #footer {
        background: none repeat scroll 0 0 #fff;
    }
    
    /* logged out colour */
    
    #footer {
    background: none repeat scroll 0 0 #000;
    }

    Hope this helps Joel! Let us know if you need any further assistance.

    All the best,
    Tyler

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.