Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #995335

    Hi,

    The page can not open an entry on a new page in the portfolio grid setting. It worked normally until I update the latest version of the theme, can you tell me why?

    Thanks
    Enffie

    #995370

    Hey Enffie,

    Thank you for using Enfold.

    Where can we see the issue? Is it opening a lightbox? Please try to disable the File Compression options in the Enfold > Performance panel.

    Best regards,
    Ismael

    #995376

    Hi,

    When I active the setting of “open an entry on a new page” in the portfolio grid element, it still loads the new page in the same window, what I need is to open an entry on a new page.

    Enffie

    #995503

    Hi trianglehomeware_,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #996247
    This reply has been marked as private.
    #996270

    Hi,

    Please also provide the website url otherwise we don’t know where we can log in.

    Best regards,
    Dude

    #996272
    This reply has been marked as private.
    #996297

    Hi!

    I added this code to the child theme functions.php file to open the portfolio item links in a new tab/window:

    
    function avia_cutom_head_javascript() {
        ?>
    <script type="text/javascript">
    jQuery(document).on('click', '.grid-entry a.grid-image', function(e){ 
        e.preventDefault(); 
        var url = jQuery(this).attr('href'); 
        window.open(url, '_blank');
    });
    </script>
        <?php
    }
    add_action('wp_head', 'avia_cutom_head_javascript');
    

    Cheers!
    Peter

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