Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #691371

    hi, i am trying to make some h3 headers into links on one of the pages on my site. the link works, but it won’t open in a new window.

    #692276

    Hey rotaryerin,

    Please enable the custom css class field: http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ and then edit your element and give it a custom CSS class and add following code to Functions.php file in Appearance > Editor

    function avia_custom_target(){
    ?>
     <script>
    jQuery(window).load(function(){
    jQuery('.your-custom-class a').attr('target','_blank');
    });
     </script>
    <?php
    }
    add_action('wp_footer', 'avia_custom_target');

    Best regards,
    Yigit

    #694261

    Thank you. On normal links, when I check “open in a new window”, that isn’t working, either.

    #694515

    Hi,

    Can you please try de-activating all active plugins and check if that helps? If not, please update Enfold to the latest version 3.8 – kriesi.at/documentation/enfold/updating-your-theme-files/

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.