Viewing 4 reply threads
You must be logged in to reply to this topic.
Hi,
I’m using the Service circle icon, and I would like to make the icon clickable (now, it’s just the text which is clickable, is it possible to improve that, for a better user experience ?)
Thanks a lot in advance.
Hello,
To do so you have to edit the file vc_templates/services_medium.php
if($style == 'style_3')
$extra_st = 'border:2px solid '.esc_attr($border_color).';';
$output .= '<div class="icon_wrapper" style="'.$extra_st.'"><i class="'.esc_attr($icon).'" style="color:'.esc_attr($icon_color).';"></i></div>';
and replace with:
if($style == 'style_3')
$extra_st = 'border:2px solid '.esc_attr($border_color).';';
$output .= '<a href="'.esc_url($data['link']).'"><div class="icon_wrapper" style="'.$extra_st.'"><i class="'.esc_attr($icon).'" style="color:'.esc_attr($icon_color).';"></i></div></a>';
Let us know.
Regards!
That worked great for me! :)
I put vc_templates/services_medium.php (sub-folder and file) into a child theme. Will that be ok or should I expect an issue? Thanks! :)
Hello,
No, that should be ok. Now you can freely update theme any time there is an update available and the changes won’t be lost.
Best regards!
You must be logged in to reply to this topic.