• Skip to main content

Victor Font Consulting Group, LLC

Strategic IT Solutions for Complex Organizations

  • Home
  • Care Plans
    • Care Articles
    • Optional Subscriptions
  • Consultations
  • Products
    • Code Snippets
    • Public GitHub Repositories
    • Gist Snippets
    • Pastebin Snippets (Free)
    • Free Plugins
  • FAQs
  • Support
    • Graphic Design
  • Contact
    • Speakers
    • Portfolio
  • Resources
    • Free WordPress Video Training
    • Tutorials
    • Articles
    • Cybersecurity
    • EU Referral Network

Parallax Pro Style Sheet Order Addendum

posted on June 6, 2015

Parallax Pro Addendum - Oops!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:

add_action( 'wp_enqueue_scripts', 'parallax_css');

To this:

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.

  • 0shares
  • Facebook0
  • Twitter0
  • Pinterest0
  • LinkedIn0
  • Print
  • SMS0

About Victor M. Font Jr.

Victor M. Font Jr. is an award winning author, entrepreneur, and Senior IT Executive. A Founding Board Member of the North Carolina Executive Roundtable, he has served on the Board of Advisors, of the North Carolina Technology Association, the International Institute of Business Analysis, Association of Information Technology Professionals, Toastmasters International, and the North Carolina Commission for Mental Health, Developmental Disabilities, and Substance Abuse Services. He is author of several books including The Ultimate Guide to the SDLC and Winning With WordPress Basics, and Cybersecurity.

 
We only use analytical cookies on our website that allow us to recognize and count the number of visitors, but they do not identify you individually. They help us to improve the way our website works. By clicking Accept you, agree to cookies being used in accordance with our Cookie Policy.