Home Forums Trusted Featured Post Image

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9324
    LizaLorenzWrites
    Participant

    Is there a way to align the featured image in posts? It’s left aligned now, which would not be terrible, if the writing were beside it. It’s not. All the writing comes after. How can I either center the featured image or have beginning of writing beside the post? Thank you for your help.

    #9325
    Andy
    Keymaster

    The following is custom CSS to be added to Additional CSS in the customizer.

    To center the image use this:

    .single-entry-content .wp-post-image {
        clear: both;
        display: block;
        margin: 0 auto 1.5em auto;
    }

    To align it left with the text content wrapped from beside the image:

    .single-entry-content .wp-post-image {
        float: left;
        margin: 0 1.5em 1.5em 0;
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.