Tagged: Images
I’m using the Team Member module and would like to make the entire image clickable, not just the little icon on hover. What’s the best way to do that?
Hi,
Can you post the link to the Page in question please?
Regards,
Josue
Hi,
Try adding this at the end of js/avia.js:
jQuery(function() {
jQuery(".avia-team-member").each(function() {
var theHref = jQuery(this).find("a.avia-team-icon").attr("href");
jQuery(this).on("click", function(){
document.location.href = theHref;
});
});
});
Then add this to the Quick CSS too:
.avia-team-member:hover{
cursor: pointer;
}
Regards,
Josue
Perfect thank you! Excellent support my friend.