Background image only for Blogposts

Hey all,

I want to change the backgorund image only for Blog Posts. I tried this but it does not work:

body.blog, body.single-post
{
background-image: url(https://clevermom.de/wp-content/uploads/2020/04/CleverMom_Background_lighten_web.jpg);
background-repeat: repeat;
background-position: left top;
background-attachment: fixed;
background-size: auto;
}

Do you have an idea how it can work?

If you change the selector to

body.blog, body.single-post .fl-page-content

It should work for blog posts

Yes this works, THANKS A LOT :slight_smile:

It looks like this now:

body.blog, body.single-post .fl-page-content 
{
    background-image: url(https://clevermom.de/wp-content/uploads/2020/04/CleverMom_Background_lighten_web.jpg);
    background-repeat: repeat;
    background-position: left top;
    background-attachment: fixed;
    background-size: auto;
}

You’re welcome! Glad it is working!

1 Like