• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

parallax pro background image moves when scrolling

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › parallax pro background image moves when scrolling

This topic is: not resolved

Tagged: background image, parallax-pro, scrolling

  • This topic has 8 replies, 4 voices, and was last updated 10 years, 3 months ago by Josephine.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • August 16, 2015 at 3:44 am #162496
    Josephine
    Participant

    Hi,

    For some reason the parallax pro background image (top) moves when scrolling. It looks like there are two images when inspecting element but I cannot figure out what's wrong.

    Is there anyone who would like to take a look and help me with this?

    Thanks,
    josephine

    http://www.adonnadesign.nl/
    August 16, 2015 at 7:35 am #162501
    Victor Font
    Moderator

    Josephine,

    There's nothing wrong with your site. It's working as it's supposed to. Visit my site for comparison: http://victorfont.com/


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    August 16, 2015 at 9:21 am #162523
    Josephine
    Participant

    Hi Victor, thanks for your reply! But when yous scroll on my site you will see what I mean. Perhaps you don't see it at first but when you refresh and scroll again you will see the image moving to the right.

    Josephine

    August 23, 2015 at 9:08 am #163231
    spiezz
    Participant

    I am having the same issue. It cuts off the image when it shifts to the right while scrolling. I have not had this problem with other sites that I have done with Parallax Pro.

    ??
    Karen

    August 23, 2015 at 10:45 pm #163271
    Josephine
    Participant

    Glad to hear that I am not the only one with this problem! (sorry for you Karen). I hope there is someone who can see what the problem is.

    August 24, 2015 at 3:21 pm #163344
    Christoph
    Member

    Hi Josephine,

    Chrome works fine, Firefox and Internet Explorer are showing the jumping.

    https://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.adonnadesign.nl%2F&profile=css3&usermedium=all&warning=1&vextwarning=&lang=en

    and

    https://validator.w3.org/nu/?doc=http%3A%2F%2Fwww.adonnadesign.nl%2F

    are showing a few errors that you should take care of.

    You made changes to parallax.js.
    Can you check with the original file?

    Also you are using animate.css.
    Maybe a class got accidentally included and is causing the "jumping effect"?


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    August 24, 2015 at 4:36 pm #163351
    Victor Font
    Moderator

    I see it now. It appears that the background image is resizing itself when you start to scroll.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    August 31, 2015 at 8:24 am #164120
    Josephine
    Participant

    Hi, i have checked into the parralax.js file and indeed it is a different one. This is because the original file did not show smooth scrolling. I have put it on there so you can see how it is now..

    August 31, 2015 at 9:11 am #164126
    Josephine
    Participant

    I have put the smooth scrolling js file back again. Now the moving of the image is back again so I guess this file is the problem:

    jQuery(function( $ ){
     
        // Enable parallax and fade effects on homepage sections
        $(window).scroll(function(){
     
            scrolltop = $(window).scrollTop()
            scrollwindow = scrolltop + $(window).height();
     
            $(".home-section-1").css("backgroundPosition", "0px " + -(scrolltop/6) + "px");
     
            if( scrollwindow > $(".home-section-3").offset().top ) {
     
                // Enable parallax effect
                backgroundscroll = scrollwindow - $(".home-section-3").offset().top;
                $(".home-section-3").css("backgroundPosition", "0px " + -(backgroundscroll/6) + "px");
     
            }
     
            if( scrollwindow > $(".home-section-5").offset().top ) {
     
                // Enable parallax effect
                backgroundscroll = scrollwindow - $(".home-section-5").offset().top;
                $(".home-section-5").css("backgroundPosition", "0px " + -(backgroundscroll/6) + "px");
     
            }
     
        });
     
      /* THIS IS THE NEW JS CODE WHICH IS USING FOR SMOOTH SCROLLING EFFECT  */
      $.localScroll({
        duration: 750
      });
     
    });

    Is there anyone who can see where the problem is in this file? I don't know anything about js............

    Thanks

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble