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

    On a couple of pages with a similar structure, I have the same problem with the parallax background.
    When the page has a spacing between the menu and the parallax image is (screenshot). If I change the width of the browser window, then the parallax image jumps to the correct position.

    Is this a known bug and there’s a solution for this?

    Thanks and greetings
    Lukas

    #299846
    This reply has been marked as private.
    #299976

    Hey!

    Thank you for using the theme.

    It does happen when you increase the size of the browser. I doubt users will decrease the browser size then increase it back intentionally when viewing the website.

    Cheers!
    Ismael

    #300164

    Hey Ismael!

    I think you misunderstood me.
    With Mac OSX (Chrome) and Windows 7 (Chrome) sees when opening a page like this. Only when the window size is changed, then moves the photo to the right position.

    regards
    Luke

    #300165
    This reply has been marked as private.
    #300975

    Hey Ismael!

    Would you have an idea for a solution?

    Thanks and regards
    Lukas

    #301947

    Hey!

    Personally I was not able to reproduce the issue on Win8 with Chrome but I’ll mark it for Kriesi – maybe he can reproduce it with a Mac PC. You can try to insert this code into the enfold/functions.php or child theme functions.php file:

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

    – it will trigger a resize event on page load.

    Regards,
    Peter

    #317909

    Great, it works!
    Thanks for the help and for the fantastic theme!

    Regards Lukas

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Wrong position of the parallax image’ is closed to new replies.