Archived topic
Make Archive Featured Image Clickable that Link to Single Post
6 replies · Started by Chandan Prasad Sahoo on October 4, 2022
When I click on the Post title link, it brings me to the post. But I want to make the thumbnails clickable.
I created this blog using Block - Content Template.
Link: https://usastorytime.com
Hi there,
Do you have GB pro installed? If so, there's a featured called container link, it will add the link to the entire container.
If not, custom CSS might do.
Let me know!
I dont have the pro version. Can you please help me with the css?
Hi Chandan,
You could try something like this:
.inside-article > .gb-container > .gb-inside-container, .inside-article > .gb-container > .gb-inside-container > .gb-headline {
height: 100%;
}
.inside-article > .gb-container {
height: 500px;
}
.gb-container > .gb-inside-container > .gb-headline {
display: flex;
align-items: flex-end;
}
.inside-article > .gb-container > .gb-inside-container > .gb-headline > a {
padding-top: 470px;
padding-bottom: 30px;
}
But this is just a workaround, and wouldn't work as smoothly as the feature in GB Pro.
Thank you so much.
I purchased the GenerateBlocks Pro, can you please guide, how to make entire block as a link to the single post.
Hey, this link might help you: https://docs.generateblocks.com/article/container-links/