Featured image/Thumbnail alignment with excerpt (3 posts)

  1. ThomasVig
    Posted 1 year ago #

    Hi everyone!

    I saw a lot of people have asked the questions already, but couldn't find the answer to my problem.

    I want to show the excerpt of my posts on the front page of my site. I am currently using the Responsive Theme from Cyberchimp.

    What I want is the Thumbnail align (left and top) with the text from the excerpt. I managed to float the image left, but impossible to align it with the top of the excerpt, here is a link to the front page of the website: http://www.coachingassembly.com (the issue is under "Orientation and Updates" at the bottom of the page").

    For the moment, this is the CSS code I have:

    img.attachment-thumbnail {
    	display: block;
    	width: auto;
    	float: left;
    	vertical-align: top;
    	padding-right: 20px;

    I am not sure what to do. If you need any other info to be able to answer this problem, please let me know! Thank you in advance for your help!


  2. Dave Naylor
    Posted 1 year ago #

    Try adding:

    #content-blog img.wp-post-image {
        margin: 0 auto;
  3. ThomasVig
    Posted 1 year ago #

    Thanks so much! You are a genius!
    Happy New Year!

Topic Closed

This topic has been closed to new replies.

About this Topic