• Resolved lanigiro

    (@lanigiro)


    Hello,
    This code show featured image only in excerpt posts on homepage. I’d like to wrap text around images inside my posts, but no wrapping occurs and a large gap can be seen between my paragraphs between the top of the image and the bottom. How can I fix this?

    Cheers!

    .entry-content img.alignleft,
    .entry-content .wp-caption.alignleft {
    margin-left: 0px;
    }

Viewing 1 replies (of 1 total)
  • Thread Starter lanigiro

    (@lanigiro)

    After hours I found and added this piece of code which solve this problem.
    /* Alignment */
    .alignleft {
    display: inline;
    float: left;
    margin-right: 1.625em;
    }
    .alignright {
    display: inline;
    float: right;
    margin-left: 1.625em;
    }
    .aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    }
    `

Viewing 1 replies (of 1 total)
  • The topic ‘Text Won't Wrap Around Images inside the Post’ is closed to new replies.