Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1406984

    Hi Congrat for your Enfold theme!

    I’m having some troubles embeeding slider revolution in tabs module i have 3 differents sliders and i want to show one in each tab.
    I’ve tried with accordions as alternative but have the same.

    If you can help me, thanks in advance

    #1407177

    Hey josefrancisoa,

    Thank you for the inquiry.

    Looks like the slider doesn’t display immediately when changing tab. It displays fine when we resize the browser. Please try adding the following code in the functions.php file to force the window to resize after clicking one of the tab titles:

    // resize screen on section tab change
    function ava_custom_script_revo_tab()
    {
        ?>
        <script type="text/javascript">
            (function($) {
                $('.av-section-tab-title').on('click', function() {
                    $(window).trigger("debouncedresize");
                    $(window).trigger("resize");
            })(jQuery);
        </script>
        <?php
    }
    add_action( 'wp_footer', 'ava_custom_script_revo_tab', 9999 );
    

    Best regards,
    Ismael

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