-
-
Hi!
I am creating a page with visual composer. If i add a media (image) and add a link, the linked page opens in a new tab. What do I need to do, that the user stays in the same tab?
Thanks.
-
Hello,
Please go to file vc_templates/media.php and find these lines:
if($link!="#" && $link!="") $output .= '<a target="_blank" href="'.$link.'" ><img src="'.esc_url($image).'" alt="" class="type_image animated fadeIn'.esc_attr($animation).' alignment_'.esc_attr($alignment).'" '.$width_style.' /></a>';
remove the
target="_blank"
from it and save changes.Let us know.
Best regards!
-
-
Viewing 2 reply threads
You must be logged in to reply to this topic.