Parallax Pro Style Sheet Order Addendum

This article serves as an addendum to Change Genesis Child Theme Style Sheet Load Order. After bringing up a new eCommerce site with the Parallax Pro theme, I discovered that the instructions provided in my previous post do not work with Parallax Pro. When you follow the previous tutorial for Parallax Pro, the parallax.css file won't load, giving the appearance that the site is hung up.

Parallax Pro is the first Studio Press theme that I am aware of that loads the parallax.css file outside of functions.php. This file is loaded in output.php, which is located in the theme's /lib/ directory. Line 6 in this file hold the code that breaks. Simply change line six from this:

1

add_action('wp_enqueue_scripts','parallax_css');

To this:

1

add_action('wp_enqueue_scripts','parallax_css',40);

All you've done in this modification is change the load priority of the parallax.css file so it loads after both WooCommerce and style.css files.

Reader Interactions

The Genesis Framework empowers you to quickly and easily build incredible websites with WordPress. Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go.

We only use analytical cookies on our website that allow us to recognize and count the number of visitors and to see how visitors move around the site when they are using it, but they do not identify you individually. They help us to improve the way our website works, for example by ensuring that users are finding what they are looking for easily. Read more about the cookies we use by clicking the Cookie Policy button. By clicking OK you agree to cookies being used in accordance with our Cookie Policy. If you don’t agree you can disable cookies—see the Cookie Policy for more details.