***UPDATE*** THE DIVI CALL TO ACTION MODULE NOW HAS THE OPTION TO OPEN IN THE SAME WINDOW/NEW TAB AS PART OF THE GENERAL SETTINGS *** UPDATE***

*****When you copy and paste the code below, go in and manually retype the ” ” ‘ ‘ as copy/paste causes issues with these characters***

To get ALL call to actions to open in a new tab you can add the following javacript into the ePanel integration <head> section

<script type=”text/javascript”>
jQuery(document).ready(function(){
jQuery(“.et_pb_promo_button”).attr(‘target’, ‘_blank’);});
</script>

To get A SPECIFIC call to action to open in a new tab, give that call to action a CSS ID (this examples uses my_call_to_action)

add then add the following javascript into your ePanel integration <head> section

<script type=”text/javascript”>
jQuery(document).ready(function(){
jQuery(“#my_call_to_action .et_pb_promo_button”).attr(‘target’, ‘_blank’);});
</script>

Elegant Themes' Black Friday/Cyber Monday sale is still on if you want 25% discount! Dismiss

Pin It on Pinterest

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close