- This topic has 4 replies, 4 voices, and was last updated 9 years, 4 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
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.
Does anyone know how to Switch off the Parallax Feature on Parallax Pro?
I'm getting dizzy with all the Parallax websites around at the moment 🙂
I like the full-width front page on Parallax Pro, just want to simply have it scrolling normally.
I'm with you... parallax is extremely cute, but is fast becoming a cliche, and soon it will catch up with sliders for that, maybe. 🙂
I don't have that theme, but I can offer an idea. Go to Appearance... Editor. Click on Theme Functions on the right (functions.php). Look for a line that contains...
The line may be an "include" or a "require". Comment that out if you find it, save, and parallax should stop.
If none of that applies, maybe official support will help, or someone who has Parallax Pro.
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
Many thanks Dave for that info.
I tried to find that line in functions.php, but there doesn't seem to be any reference to "js/parallax.js" in there.
Will try the official support I guess, or wonder if anyone has encountered this before.
Code is locating in front-page.php file. Only change this line
add_action( 'wp_enqueue_scripts', 'parallax_enqueue_parallax_script' );
//add_action( 'wp_enqueue_scripts', 'parallax_enqueue_parallax_script' );
and parallax effect will disable
Because I can never remember where I changed code, and don't have the forethought to write these things down somewhere, what I did was used FTP to move the parallax.js file to my computer, made a copy and renamed it parallaxON.js (so if I ever needed to turn it back on, I had the original code). Then I took the parallax.js file, removed all code so that it was basically a blank file, and uploaded back onto the site. That's probably horrible coding, but it did the trick.
© 2023 WPEngine, Inc.