Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1225094

    I can’t understand why a page on a tab section is truncated if I go in directly, if I click on another tab and then back on this page it loads correctly.
    I tried to use a gallery, now two columns with four single images, same result.
    And wordpress preview always works !
    Can you help me understand?
    I just have to add a few images to a tab section

    #1225405

    Hey BNA1956,

    I’m not sure if I understand the problem you are having, could you post a screenshot or screencast highlighting it please?

    Best regards,
    Rikard

    #1225420
    #1225933

    Did you see the screenshots ?

    #1226664

    Hey!

    Sorry for the delay. Looks like the tab doesn’t resize correctly when it’s directly accessed using anchors.

    Adding this script in the functions.php file should help.

    add_action('wp_footer', 'ava_auto_resize');
    function ava_auto_resize(){
    ?>
    <script>
    (function($){	
    	var int = window.setInterval(function(){
    		$(window).trigger('resize');
    	}, 1000);
    	
    	$(window).load(function () {	
    		setTimeout(function() {
    			clearInterval(int);
    		}, 1000);
    	});
    })(jQuery);
    </script>
    <?php
    }

    Regards,
    Ismael

    #1226669

    Unfortunately not, when I click on page Our Services and then on Gallery button (second-last of tab section), the images below are always truncated;
    same thing if I enter directly on that section (#gallery); if I click on the same section again it works correctly, or if I click on another tab section and then again on gallery section the images are loaded correctly.

    #1227651

    Hi,

    Thank you for the update.

    It seems to be working properly now when the URL is accessed directly, but not when clicking from another tab.

    Please try to include this code in the Quick CSS field or the style.css file.

    .avia-image-container .avia_image, .avia-image-container .avia-image-overlay-wrap {
    	-webkit-transition: none;
    	transition: none;
    }

    Did you enable lazy loading?

    Best regards,
    Ismael

    #1227696

    Lazy loading !!!!! You’re right, I didn’t even remember it was activated !
    Turning it off everything works correctly, thank you very very much.

    #1227914

    Hi,

    Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1228026

    Close it, thank you

    #1228201

    Hi,

    Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Tab section: page truncated’ is closed to new replies.