Viewing 4 reply threads
You must be logged in to reply to this topic.
Hello,
I’m wondering how to make the service circle icons on my home page clickable (e.g. so that the actual icon itself, rather than the text, can be clicked to take the user to the linked page).
Would you be able to advise me as to how I can go about doing that?
Many thanks,
Calvin
Hello,
To make icons link too, 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 it with this:
$output .= '<div class="icon_wrapper" style="'.$extra_st.'"><a href="'.$data['link'].'"><i class="'.esc_attr($icon).'" style="color:'.esc_attr($icon_color).';"></i></a></div>';
Save and refresh.
Best regards!
Hi,
I have the same problem. Where do you change the php file?
Mike
Hello,
You can find the file at ‘secular/vc_templates/services-medium.php’ on your FTP.
Best regards!
You must be logged in to reply to this topic.