How to turn entire grid block in Essential Grid into a clickable link to the post

Hi there,

I’m using the Essential Grid and I’d like the whole block to be a clickable link.

How can I achieve that?

Hi There,

You can try adding this custom JS and CSS:

.esg-media-cover-wrapper {cursor: pointer;}
jQuery(document).ready(function($) {
	$(".esg-media-cover-wrapper").click(function() {
		window.location = $(this).find("a").first().attr("href");
		return false;
	});
});

Hope it helps :slight_smile:

Hello @Jacqui,

In addition you can also take a look at following documentation:

https://www.themepunch.com/faq/hyperlinking/

Thanks.

This worked pefectly! Thanks :slight_smile:

This was very helpful! Thanks

Glad to hear it :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.