Is it possible to make the icons in the icon list and icon boxes links? I know the titles and descriptions can be links, but I want the actual icon to be a link as well. Everyone I show the site to tries to click on the icons.
Hey davisar!
Here’s a workaround: https://kriesi.at/support/topic/linking-the-icon-box-icon/
Regards,
Josue
Hey!
Modify the code to this:
jQuery("article.iconbox").each(function(){
var theLink = jQuery(this).find("a").attr("href");
jQuery(this).on("click", function(){
window.location.href = theLink;
});
});
Regards,
Josue
I already added that to the avia.js
Hi!
I modified the code a bit, now it will target all iconboxes regardless if they are in the homepage or not.
Regards,
Josue
Hi!
Add this too:
jQuery(".iconlist_icon").each(function(){
var theLink = jQuery(this).siblings("article").find(".iconlist_title a").attr("href");
if(theLink) {
jQuery(this).on("click", function(){
window.location.href = theLink;
});
}
});
Regards,
Josue
Perfect! Everything is working now. Thank you!
You are welcome, glad we could help :)
Regards,
Josue