-
-
This is the third time I am logging a support ticket on this issue. It keeps getting deleted.
i am using the service media element for images but need to make it so that the default link on the title and the image does not link. I had hoped that by simply removing the “#’ I could modify this behavior. unfortunately that doesn’t work.
You can see an example here. Just scroll down to any of the spray features and hover over the image and or title.
https://s592558735.onlinehome.us/sprayfeatures
What do I need to do to make this happen. Please do not delete this ticket again.
-
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>';
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>';
In the same file find this other line:
$output .= '<h5><a href="'.esc_url($link).'">'.esc_html($title).'</a></h5>';
Replace with this:
$output .= '<h5>'.esc_html($title).'</h5>';
Save file!Ps: We are sorry for what happened to your first tickets. There are works going on in the server so they may have not been saved. No one from the staff does ever delete any ticket.
Best regards!
-
-
You must be logged in to reply to this topic.