How to add Parallax to a Layout Background with the included Custom Template

This is a community-contributed tutorial. This tutorial is over a year old and may not apply to your version of Concrete CMS.
Dec 28, 2018

Preface

The ability to add a Parallax effect to a Layout Background Image has been included in Concrete CMS since release version 5.7.5, and is included in v8 onwards. This effect is rather easy to setup.

While this can be used in flexible, novel ways, this tutorial will not go into all ways this can be used. This tutorial will just cover a single example.

This demonstration will be on a fresh install of concrete (effectively version 8.4.3 as of this writing) on the Elemental theme, however the feature is not explicitly tied to the Elemental theme and can be used for other themes freely.

Execution

We're going to modify an existing Layout in the starter Elemental theme content.

Locate a Layout's Column, click on it to trigger the pull-down menu, and Click on "Edit Layout Design"

Next we set the desired background image. Click on the second from the left icon, to get the Background image interface. Then click on "Choose Image", pick the one you want, and we move onto the next step. You do not need to hit "Save" just yet.

Next we click on the Cog/Gear icon to the left of "Cancel" to bring up the Advanced menu. The top option, "Custom Template" will have "(None selected)" by default. Switch this to "Parallax". Then hit save.

Now you should be able to preview the background image and Parallax effect before you publish!

This method has some room for creative use. So if you discover a novel way to use this, please leave your findings in the comments below so others can benefit! :)

Recent Tutorials
Create custom Site Health tasks
Apr 19, 2024
By myq.

This tutorial will guide you through the creation of a new Site Health task

Reusing the same Express entity in multiple associations
Apr 11, 2024
By myq.

How to create and manage multiple associations in Express

Express Form Styling
Apr 11, 2024
By myq.

Different ways to style Express forms

Setting addon/theme version compatibility in the marketplace
Jan 9, 2024

For developers worn out with setting the latest addon or theme version manually across too many core versions, here is a JavaScript bookmarklet to do it for you.

How to get the locale of a page
Jan 8, 2024
By wtfdesign.

Now, why don't we just have a getLocale() method on Page objects beats me, but here's how you work around it

Using a Redis Server
Jun 16, 2023
By mlocati.

How to configure Concrete to use one or more Redis servers to persist the cache.

Improvements?

Let us know by posting here.