-
-
Dear community,
i am wondering, why are my service icons noch clickable. The titel of the section is clickable, but not the icon itself. Somebody any ideas?
Thanks in advance!
Alex -
-
Hello,
By default the icons in services medium are not links. But if you want them as links too, then please go to file vc_templates\services_medium.php, and find this line:
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;
Save file.
Best regards!
-
Unfortunately it didn’t help. Any other ideas?
Such icons you can find on the frontpage. Please check: http://www.conmotion.de -
-
Hello,
The solution provided has been tested and do work. Maybe you copied it wrong. I can give a look if you give me your wp credentials in a private reply. If you used a different solution, please share so other’s interested can find it helpful.
Thank you,
-
You must be logged in to reply to this topic.