post background

  • Unknown's avatar

    when i visit my site, My post are filled with with a solid color as their background and i want to apply a picture as its background. How do i do that?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there,
    You can do that by adding custom CSS to the post content class:

    .entry-content {
        font-size: 1.2em;
        line-height: 1.7em;
    }

    You can add a custom background image using the background CSS property like this:

    .entry-content {
        font-size: 1.2em;
        line-height: 1.7em;
        background: url('backgroundimage.jpg') no-repeat;
    }

    If you have a pattern background that can be repeated, just change the no-repeat property to repeat, like this:

    .entry-content {
        font-size: 1.2em;
        line-height: 1.7em;
        background: url('backgroundimage.jpg') repeat;
    }

    NOTE: You need to upgrade to a WordPress.COM Premium or Business Plan to be able to customize CSS. Read more about it here: https://en.support.wordpress.com/custom-design/

  • The topic ‘post background’ is closed to new replies.