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

    Hi – love the theme!

    Question: referring to this page: http://kriesi.at/themes/enfold/portfolio/portfolio-ajax/ You have to click on one of the images to get the preview to show up (with the l and r buttons, featured image and text). Is it possible to have the preview of the first item open by default when someone goes to the page?

    I want to make a product tour that looks like this preview box, letting people step through images and text. If there is a better way, please also let me know.

    Thanks,
    Robert

    #411860

    Hey Transpara!

    Thank you for using Enfold.

    Please refer to this link: https://kriesi.at/support/topic/ajax-portfolio-opened-at-the-start/

    Or add this to the functions.php file:

    add_action('wp_footer', 'ava_auto_click');
    function ava_auto_click(){
    ?>
    <script>
    (function($){	
    	$(window).load(function() {
    		$('.grid-links-ajax a:first').trigger('click');
    	});
    })(jQuery);
    </script>
    <?php
    }

    Best regards,
    Ismael

    #414189

    Perfect. Thanks!

    #414917

    Hey!

    glad Ismael could help you. Let us know when you need some more help in the future. We are happy to assist you.

    Regards,
    Andy

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Ajax portfolio preview open by default?’ is closed to new replies.