-
-
I would like to make the service icons clickable on this page: https://www.testsite.sagio.be/over-sagio-be/
How can I do this?
- This topic was modified 8 years, 11 months ago by itsagio.
-
Hello,
Please go to file: vc_templates\services_medium.php and find these lines:
if($icon_bool == 'image' && !empty($image)): $output .= '<img src="'.esc_url(codeless_image_by_id($image, '', 'url')).'" alt="" />'; endif;
Replace with this:
if($icon_bool == 'image' && !empty($image)): $output .= '<a href="'.esc_url($data['link']).'"><img src="'.esc_url(codeless_image_by_id($image, '', 'url')).'" alt="" /></a>'; endif;
Best regards!
-
Hi,
This didn’t work for me. I tried this and it broke a whole of lot of the content on my page.
-
-
Hello,
You must have copied it wrong (even a misplaced coma can break the site). If you want, you can send us your wp credentials in a private reply. So we can do it for you.
Best regards!
-
Viewing 2 reply threads
You must be logged in to reply to this topic.