Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #320663

    Hey

    On the top of the page there are 3 buttons to an anchor link on the same page: Pure, Classic and Color. When u load the page for the first time, the button to ‘Color’ goes to the middle of the 3rd masonry section, not to the ‘Color’ section.

    The url is in the private content.

    Thanks a lot for helping me out.

    Tom

    #321006

    Hey Tom!

    Thank you for using Enfold.

    You’re using an old version of the theme. Please download the latest version 2.9.2 from your themeforest account then update the theme via FTP. Please refer to this link for more info: http://kriesi.at/documentation/enfold/updating-your-theme-files/

    Best regards,
    Ismael

    #324296

    Hi Ismael

    I updated to the latest version 2.9.2 but the problem still is there.
    Thanks

    Tom

    #324806

    Hi Tom!

    I tried reproducing the issue but the ‘color’ button did scroll to the ‘color’ color section as expected (on first load).

    Regards,
    Josue

    #325457
    This reply has been marked as private.
    #326290

    Hi,

    Try adding this at the very end of your theme / child theme functions.php file:

    function add_custom_script(){
    ?>
    <script>
    (function($){
        $(window).load(function() {
        	$(this).trigger('resize');
        });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    Regards,
    Josue

    #328059

    That did the trick!
    Thanks a lot for the excellent service!

    Regards

    Tom

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Anchor link ends in middle of masonry’ is closed to new replies.