-
-
Hello,
I have installed a website at http://www.dispack.com. There are 3 service icons. The text has a link, but the icon doesn’t have a link. How can I add a link to the icon ? If that is not possible, in what file and line can I change the code ?
Thank you.
Yours,
Manolito
-
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 .= '<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>';
Best regards!
-
Viewing 1 reply thread
You must be logged in to reply to this topic.