Leto: Featured boxes with click


For Leto: Featured boxes function,
How can I edit it to just click the pic to the link, need not to click the “click me button”


If you are referring to these sections https://www.screencast.com/t/voaFc2UYv , only option is to add some custom JS code in order to take out href attribute of each link and then to wrap holding div with another a tag since it would be really hard to achieve this with some css code. You can install and use this plugin https://wordpress.org/plugins/custom-css-js/ and JS code with witch you should be able to achieve this is this one:

jQuery('.list-categories-section .category-item__inner .category-item__link a').each(function(){
   var categoryLink = jQuery(this).attr("href");
   var imgHolder = jQuery(this).parent("div").parent("div").parent("div");
   imgHolder.wrap( "<a href=" + categoryLink + "></a>" );

And images should be clickable https://www.screencast.com/t/vvRlBPiwac

Best Regards!

Now can just click the pic to the link.

I del the click button text but the button icon > still here, how can I destroy it.

Hi again,

You can hide button link with custom css code below:

.list-categories-section .category-item__inner .category-item__link a {
    display: none;

You can apply it over same plugin or from Appereance > Customize > Additional CSS field.


It works fine now!
Thanks for your help.