Link featured image

Hello.

Thank you for the nice theme!
How can I also make a link of the featured images on the homepage. Now is only the text as a link.
I want to do it for al the images of the page templates in the home page.
https://aspectu.be

Hello there,

Thank you for contacting about our theme Astrid. I am happy to help with your queries.

Can you take a screenshot with some annotations on it to point the exact location and update me with it in your reply to this response?

Regards,
Kharis
aThemes Support

Hello,

I want to make a link tot the page from the pictures with a red square

Hello Now is only the text under the images linked I also want to link the images to the pages.

Hello there,

Thank you for sharing the screenshots, that helped me a lot.

To achieve them, you’d try doing the below steps:

  1. Install and activate the TC Custom JavaScript plugin
  2. Go To Appearance > Custom JavaScript
  3. Paste the following code into the provided box
    ;(function($) {

       'use strict'

       if( $('.atframework_services_widget').length ){

         $('.service-area .service').each(function(){

           var link = $(this).find('.service-title > a').attr('href');

    	   $(this).find('.service-thumb').wrapInner('<a href="'+link+'"></a>');

         });

       }

       if( $('.atframework_employees_widget').length ){

         $('.atframework_employees_widget .employee').each(function(){

           var link = $(this).find('.employee-title > a').attr('href');

           $(this).find('.employee-thumb').wrapInner('<a href="'+link+'"></a>');

         });

       }

    })(jQuery);
  1. Update

I request you give it a try and let me know your views.

Regards,
Kharis
aThemes Support