Site logo

Archived topic

Make posts on archive fully clickable

3 replies · Started by William on May 19, 2021

Viewing posts 1–4 of 4

Hi there,

On archive pages, to click onto a post, you have to click onto the text which is the link.

Is there a way to make the whole box clickable instead, so when the hover effect appears, such as on this archive page, it is a clickable link to the post?

Kind regards,

Hi William,

Give this CSS a shot:

.generate-columns-container article.post .inside-article {
    position: relative;
}
.generate-columns-container article.post .inside-article a:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
}

That's perfect thank you!

No problem :)

This archived topic is closed to new replies.