Following my Featured Image Background Parallax section on single Posts in Altitude Pro tutorial, a few users asked how the same can be extended to static Pages as well.
In this tutorial I share the code to add a section below the header on Pages and Posts in Altitude Pro that display the featured image (if present), otherwise a pre-set default image as the background for the section with Parallax effect.
Screenshot of a sample Post:
Screenshot of a sample Page:
Create a file named say, singular.js in
js directory having:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.