• 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 Images not covering area

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 › Design Tips and Tricks › Parallax Pro – Background Images not covering area

This topic is: not resolved

Tagged: background, parallax

  • This topic has 1 reply, 2 voices, and was last updated 7 years ago by ᴅᴀᴠɪᴅ.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 3, 2016 at 11:11 am #180547
    pixelpaper
    Member

    We are having issues with a few sites.
    Area background image not stretching behind all content when the display is made smaller.

    We have tried taking out some padding but still having issues.

    See screenshot...
    https://www.dropbox.com/s/64a8uhso44y29qp/Screenshot%202016-03-03%2011.22.06.png?dl=0
    https://www.dropbox.com/s/vm7hbx037bf3rsb/Screenshot%202016-03-03%2011.43.45.png?dl=0

    I have notice that the demo site has similar issue when under a certain screen size WHEN there is a few extra lines of content.

    Thanks, Kim

    Is there any direction on this or does the content in this area limited.

    Kim

    http://www.kingpincaraudio.com/
    March 3, 2016 at 3:43 pm #180568
    ᴅᴀᴠɪᴅ
    Member

    It's one of the limitations of the parallax effect. As the background scrolls at a different speed than the content, if there is too much content then you will inevitably arrive at the end of the image before the end of the content.

    Apart from shortening the amount of content, or reducing the font size. You can sort of fix it by lessening the parallax effect, until it looks right.

    If you find the file found at /wp-content/themes/parallax-pro/js/parallax.js

    This is the javascript that causes the background to slow down. Inside the file you will find three bits, all on separate lines in the code that control the 'speed' of the background image of each of the three sections.

    -(scrolltop/6)
    and
    -(backgroundscroll/6)
    and another
    -(backgroundscroll/6)

    Changing the 6 to a higher number, say around 8 should also solve the problem as it will reduce the parallax effect just enough that you don't reach the end of the image. If you still see it, then maybe go to 9. Hope this helps.


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Design Tips and Tricks’ 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

© 2023 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