Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43858
    Tillman
    Member

    Hi! It’s me again! 😉

    Question: On my Site globe-longboards.de (see “Globe The Plank Longboard Post”). I want to have thumbnail pictures. That workes fine, but the picture is above the text. But I want to have the thumbnail picture float left, so that the text is on the right and the picture is on the left!

    Could you tell me the CSS code for that? I tried by myself a bit, but I dont know how it workes!

    Kind regards

    #43859
    Tillman
    Member

    Got it by myself!

    I just added float: left; to the already modified CSS:

    #content .gallery .gallery-icon img,
    img.wp-post-image,
    img.attachment-thumbnail {
       border: none;
       float: left;
    }

    Sorry!

    #43864
    Sakin
    Keymaster

    @Tillman: Cool that you got it yourself. Cheers 🙂

    #43866
    Sakin
    Keymaster

    @Tillman: Be careful as the css that you have added as above will make all the image in the content to be left align. So, I recommend you to replace that css with the following, which will just make the archive/homepage thumbnail to left.

    .entry-summary img.wp-post-image { 
       border: none;
       float: left;
    }
    #43870
    Tillman
    Member

    Oh, I didn’t noticed that yet! I changed the code! Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Float left for Thumbnail image’ is closed to new replies.