-
-
On my home page I have used the ‘Service Circle Icon’ and would like to make the actual icon clickable so that my clients can click each one and go to the relevant page on my site. Is this possible please?
https://adgcomputersolutions.co.uk/adgcs_test_site/
Thanks.
-
Hello,
Please go to file \vc_templates\services_medium.php and find this line:
$output .= '<div class="icon_wrapper" style="'.$extra_st.'"><i class="'.esc_attr($icon).'" style="color:'.esc_attr($icon_color).';"></i></div>';
Replace with this:
$output .= '<div class="icon_wrapper" style="'.$extra_st.'"><a href="'.esc_url($data['link']).'"><i class="'.esc_attr($icon).'" style="color:'.esc_attr($icon_color).';"></i></a></div>';
Save changes.
Best regards!
-
I’ve made the change as per your recommendation. How do I add the link for each Service Circle Icon? If I add the link directly into the code inside services_medium.php I can only add one identical link for all Service Circle icons. It would be nice to be able to add a different link for each Service Circle Icon – is this possible?
-
Hello,
The element has an option for adding custom links. As you can see the titles are already links. Just open the service settings and scroll down. The last option is the link option. Add there the link you want and save changes.
Best regards!
-
-
You must be logged in to reply to this topic.