Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #418881

    Hello,

    I am actively using the portfolio feature in this theme. I like how you can direct the feature image to open a specific URL. How can I make it so, it gives me the option to open the link a new tab or not?

    Like for example, when i direct to a youtube link – it opens up a model (which by the way, by default does not play the highest quality video – the user has to manually adjust it — how can i change this??) but if i want it to open to the youtube page itself — how can i do this?

    When the video opens up on model on my website – it rips apart my host system resources eventually causing my site to go down.

    Please help

    Thanks

    #419242

    Hi ojasray!

    Thank you for using Enfold.

    Add this to the functions.php file if you want to open the custom link in different tab:

    add_action('wp_footer', 'ava_grid_target');
    function ava_grid_target(){
    ?>
    <script>
    (function($){
    	  $(".grid-image").each(function() {
    	  	$(this).attr('target', '_blank');
    	  });
    })(jQuery);
    </script>
    <?php
    }

    Regards,
    Ismael

    #419253

    Hey,

    when i added this to my child theme function file – it broke the site — now i cannot get back into the site…

    #419373

    Hi!

    Please go to wp-content/themes/enfold and open functions.php file and remove the code via FTP. Then create a temporary admin login and post it here privately so we can add the code for you. Ismael’s code works totally fine

    Best regards,
    Yigit

    #884199

    Hi
    A part of one of my pages is suddenly hidden behind the sidebar. What to do?

    Best regards, Ditte

    #884320

    Hi Ditte,

    Please post both user name and password in private so that we can access the backend of your site.

    Best regards,
    Rikard

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