- This topic has 13 replies, 3 voices, and was last updated 3 years, 2 months ago by
Fernando.
-
AuthorPosts
-
February 6, 2023 at 9:47 pm #2524013
Vidyut
I want my posts container featured images to appear full and also the text. Secondly, I want the posts grids have shadow and animation. Like the first url I’ve shared.
Second URL is my site, where I want to have that.
February 6, 2023 at 10:22 pm #2524028Fernando Customer Support
Hi Vidyut,
You can try adding something like this through Appearance > Customize > Additional CSS:
body.archive .inside-article { padding: 0; transition: all 0.3s ease; box-shadow: 0 0 4px 1px #c6c6c6; } body.archive .inside-article:hover { transform:scale(1.05); box-shadow: 0 0 16px 1px #000; }This is also possible through GB Pro. See: https://docs.generateblocks.com/article/effects-overview/
February 10, 2023 at 8:06 am #2528582Vidyut
Not working
February 10, 2023 at 6:05 pm #2529018Leo
StaffCustomer SupportAre you trying to replicate the example site exactly?
If so try disabling the Content template you’ve created first – the example site isn’t using one.
February 11, 2023 at 12:14 am #2529170Vidyut
Still it is same
February 11, 2023 at 12:53 pm #2529775Leo
StaffCustomer SupportNow set the featured image position to above title
Then uncheck display padding around images.
Reference: https://docs.generatepress.com/article/adjusting-the-featured-images/
February 11, 2023 at 9:07 pm #2529984Vidyut
Okay, it is working. But, I don’t want the white space

Also the border, shadows and others are not same as the site I sent.
Lastly, I think the code is only for archive pages, but I want all the post grids like that. For example, I want to show same posts grids in my homepage.
February 12, 2023 at 11:26 am #2530597Leo
StaffCustomer SupportOkay, it is working. But, I don’t want the white space
Add this CSS:
.entry-summary, footer.entry-meta { display: none; }Then consider reducing the content padding – try something like
30pxall around:
https://docs.generatepress.com/article/content-padding/Also the border, shadows and others are not same as the site I sent.
You can adjust the box-shadow property in Fernando’s CSS here:
https://generatepress.com/forums/topic/how-to-make-my-archive-posts-like-this/#post-2524028This resource might be helpful: https://www.cssmatic.com/box-shadow
Please be mindful of our support forum scope:
https://generatepress.com/what-support-includes/Thanks!
February 12, 2023 at 9:21 pm #2530946Vidyut
Thanks a lot, it is working. Lastly, can you tell me when I will create the homepage like the site I sent, how can I show that type of post grid? Because the code is only for Archive pages not for all posts grids.
Thanks.
February 12, 2023 at 11:02 pm #2530986Fernando Customer Support
Can you share a link where it’s not appearing like that?
You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
February 12, 2023 at 11:26 pm #2531000Vidyut
Here in the homepage.
February 13, 2023 at 12:12 am #2531028Fernando Customer Support
Try adding this CSS:
body.blog .inside-article { transition: all 0.3s ease; box-shadow: 0 0 4px 1px #c6c6c6; overflow: hidden; } body.blog .inside-article:hover { transform:scale(1.05); box-shadow: 0 0 16px 1px #000; }February 13, 2023 at 11:54 pm #2532459Vidyut
ok thanks.
February 13, 2023 at 11:57 pm #2532463Fernando Customer Support
You’re welcome, Vidyut!
-
AuthorPosts
- You must be logged in to reply to this topic.