Site logo

Archived topic

No padding on search post images

6 replies · Started by Quested on May 20, 2021

Viewing posts 1–7 of 7

I added CSS for padding and shadow for search posts. I want padding for texts only and no padding for search post images (https://quintalfinancas.com/?s=cart%C3%A3o) so they look same as (Category Post Page-https://quintalfinancas.com/cartoes-de-credito)

Hi there,

Try this CSS:

.search .inside-article .post-image {
    margin-left: -10px;
    margin-right: -10px;
    margin-top: -10px !important;
}

I already used this CSS.

.search .inside-article {
padding: 10px;
box-shadow: 0px 2px 16px 0px rgba(0,0,0,.1);
}

But I want padding for post texts (Heading and Excerpt) and No Padding for Post Images

Thank you so much.

So it works?
Let me know :)

Yes, It worked.

I want all images be of equal width and height for post results. Is there any way to achieve that.

You are using the masonry grid, if you want the container to be the same height, try the option at customizer > layout > blog, uncheck the Display posts in masonry grid box.
https://www.screencast.com/t/kHrZedkA

Let me know :)

This archived topic is closed to new replies.