Post Page Background

  • Author
    Posts
  • #148741

    Hi Taras,

    Is it possible to change the background of the post page to an image?

    The blog I need help with is hcsafrika.wordpress.com.

    #148758

    tarasdashkevych
    Theme Author

    Hello,

    Please use this custom CSS to add a custom background image to your Posts page:

    
    .blog .site-header,
    .archive .site-header{
      margin-bottom: 0;
    }
    
    .blog .site-content,
    .archive .site-content {
      background-image: url(https://hcsafrika.files.wordpress.com/2019/10/ian-schneider-tammbr4okv4-unsplash.jpg?w=800&h=420&crop=1);
      background-size: cover;
      padding-top: 40px;
    }
    
    .blog .site-content .site-main article,
    .archive .site-content .site-main article {
      padding: 30px;
      background: #fff;
    }
    

    Let me know if you have any additional questions.

    Thank you,
    Taras

    #148774

    Thanks Taras. This works well.

    #148784

    tarasdashkevych
    Theme Author

    You are very welcome! :)

The topic ‘Post Page Background’ is closed to new replies.