Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #351161

    Hi!

    Is it possible to open the links in hotspots in new tabs?

    Thank you!

    #351461

    Hey C-LabMX!

    Try adding this to the bottom of your /enfold/functions.php file.

    add_action( 'wp_footer', 'enfold_customization_hotspot_newtab' );
    function enfold_customization_hotspot_newtab() {
    	?>
    	<script type = "text/javascript">
    	jQuery(document).ready(function(){
    		jQuery('.av-image-hotspot_inner').attr( 'target', '_blank' );
    	});
    	</script>
    	<?php
    }

    Best regards,
    Elliott

    #351540

    Thanks a lot Elliott!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Links in hotspots’ is closed to new replies.