How to display a summary next to an image in the post list

[ad_1]

Hi there,

You’ll need GP Premium to style the Blog/Archive pages.

Otherwise, you’ll need custom CSS. Here’s an example:

@media (min-width: 769px){
    :is(.blog,.archive) .content-area .inside-article {
        display: flex;
        flex-wrap: wrap;
    }
    
    :is(.blog,.archive) .content-area .inside-article .post-image {
        flex-basis: 40%;
    }
    
    :is(.blog,.archive) .content-area .inside-article  .entry-summary {
        padding-left: 20px;
        flex-basis: 50%
    }
}

Thank you for answer.

I added the CSS code as you mentioned. However, it is displayed strangely on the screen as shown in the picture below. I think it is affected by the length of the post title.

Thank you.

ying

(@yingscarlett)

Try to change the CSS to this:

@media (min-width: 769px){
    :is(.blog,.archive) .content-area .inside-article {
        display: flex;
        flex-wrap: wrap;
    }
    
    :is(.blog,.archive) .content-area .inside-article .post-image {
        flex-basis: 40%;
    }
    
    :is(.blog,.archive) .content-area .inside-article  .entry-summary {
        padding-left: 20px;
        flex-basis: 50%
    }
    :is(.blog,.archive) header.entry-header {
        width: 100%;
    }
}

Problem solved. Thank you for your kind help.

Have a nice day 🙂

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer