-
-
Hi:
Opening yet another ticket on this. I used service media image to add images and copy to this page here:
https://aquaplaysolutions.com/spray-features
each of the spray features uses one. We don’t want a link with it so i tried simply removing the link in the code. However, it is still active and when you click on any of the images or titles the page refreshes and retargets to the top which is not what we want. How can we fix this?
Thanks!
-
Hello,
Please go to file vc_templates\services_media.php and find these lines:
$output .= '<a href="'.esc_url($link).'"><div class="overlay">'; $output .= '<img src="'.esc_url($photo).'" alt="" />'; $output .= '<span></span>'; if($style == 'style_2') $output .= '<h5><a href="'.esc_url($link).'">'.esc_html($title).'</a></h5>'; $output .= '</div></a>';
And replace with these:
$output .= '<div class="overlay">'; $output .= '<img src="'.esc_url($photo).'" alt="" />'; $output .= '<span></span>'; if($style == 'style_2') $output .= '<h5><a href="'.esc_url($link).'">'.esc_html($title).'</a></h5>'; $output .= '</div>';
Best regards!
-
Viewing 1 reply thread
You must be logged in to reply to this topic.