Post excerpt

Home Support Blog Way Post excerpt

Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #6754
    Anonymous
    Inactive

    How to reduce the upper padding or margin of the post excerpt to make it look nice next to its image? https://box.everhelper.me/attachment/1005109/375810f3-f441-43cf-8cf5-9875e10d1a00/837587-LiDFsEJIVq7wM7Hb/V%C3%BDst%C5%99i%C5%BEek.PNG

    In other words, how to move up the sample text of the post and let the image be as it is?

    Thanks!

    #6755
    ProDesigns
    Keymaster

    Hi @mindfulfil

    You can reduce excerpt length from backend to make description aligned with image.

    Please go to Appearance >> Customize >> Theme Options >> Post Options and change
    Excerpt Length option as per your requirement.

    Thank you.

    #6756
    Anonymous
    Inactive

    It doesn’t solve my problem. It’s not about the length of the description (I know it because I did what you recommended). I need to move up the whole text in the description, because it’s shifted and it looks weird next to the image. Another option would be to move down the image.

    Thanks!

    #6757
    ProDesigns
    Keymaster

    Please provide us your site URL. We will provide you better solution for it.

    #6758
    Anonymous
    Inactive

    It is mindfulfil.com

    #6759
    ProDesigns
    Keymaster

    You can use following CSS:

    .home .entry-header h2.entry-title{
        padding-top:0px;
        margin-bottom: 5px;
    }
    
    .home .post .entry-img{
        padding-top: 12px
    }
    
    .home .entry-img {
        width: 50%;
        display: inline-block;
        padding-right: 20px;
    }
    
    .home .detail-wrap {
        display: inline-block;
        width: 50%;
    }
    
    .home .post .detail-wrap .entry-content{
        margin-top: 10px
    }

    Hope this will work for you.

    Thank you.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.