Support » Theme: Grisaille » Posts text wrap

  • Resolved breacher18

    (@breacher18)


    I have noticed that in the .com version of this theme the text wraps around the featured image, where as on the .org version it places the text underneath the featured image. Can anyone help me with what bit of code I might be looking for, to change?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Cheers, I will have a look to see if I can get it working from that.

    Doesn’t seem to have the desired effect, just to confirm this is not in the post this is the view on the home page. http://www.breacher18.com

    *UPDATE it seems that the text wrapping works fine on all posts when viewed from the home page except the newest post where the text is placed underneath. Any Ideas?

    The CSS class assigned to the first one is different — this:

    .attachment-post-thumbnail {
        text-align: left;
    }

    The later posts have this class and CSS:

    img.attachment-following-post-thumbnails {
        float: left;
        margin: 0 15px 25px 0;
    }

    You could try changing the text-align in the first CSS above to “float: left;” but it may mess up some other images elsewhere in your site. If that seems to be a problem, you could change it but specify only on the first page — not sure it will work, but try adding this to the stylesheet:

    .home .attachment-post-thumbnail {
        float: left;
    }

    .attachment-post-thumbnail {
    float: left;
    }

    Nice one this fixed it, thanks 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Posts text wrap’ is closed to new replies.