-
-
Hello,
Im noticing with the service icons that only the text links. Is there a way to make the icon link as well?
-
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>';
Let us know.
Best regards!
-
Thank you so much. That worked great!
Also on the services page i used the square service icons. How would i do the same with those?
Thanks for the speedy response.
-
Hello,
Please go to file vc_templates/services_large.php and find this line:
$output .= '<div class="icon_wrapper"><span class="top"></span><span class="left"></span><span class="right"></span><span class="bottom"></span><i class="'.esc_attr($icon).'"></i></div>';
Replace with this:
$output .= '<div class="icon_wrapper"><a href="'.esc_url($data['link']).'"><span class="top"></span><span class="left"></span><span class="right"></span><span class="bottom"></span><i class="'.esc_attr($icon).'"></i></a></div>';
Best regards!
-
Hi there. I am also interested in this. Do I have to edit the master Theme file, or can I duplicate the file in to the Child theme, which I would prefer to make the change?
-
Hi,
Yes, if same issue then you can make it done in same way.
Thank You
-
You must be logged in to reply to this topic.