This project file has been put together to demonstrate the options available when using Parallaxer stack by Shaking the Habitual.
The banner image at the top of this page is a full-width image and to do this the Parallaxer stack was just added directly to the page (as opposed to within any container stack). It will fill edge-to-edge if the theme that you are using supports this (as opposed to placing your content within a container).
This image has been resized to 2000px wide and has a file size of 279kb (you wouldn't want to use a file size that is much bigger than this if you can avoid it). In the stack settings the height for this image has been restricted to be at most 100% of the browser window height (using '100vh in the stack settings). So that it fits the full browser window on any device the 'Fill Mode' of 'Cover' has been selected.
Most other parallax effect stacks (or plugins etc) only allow for one direction of effect. Parallaxer offers 4 directions:
The 3 images below demonstrate these 3 of the 4 directions. (The banner image above uses the default 'up' direction)
Parallaxer allows you to add content on top of your image. Depending on the size of your image you will likely only want to use small amounts of content (certainly for displaying on mobile). You can however add absolutely any stack (or stacks) that you like.
Parallaxer has 7 preset areas that you can choose to use:
Additionally, the first 4 of these have been added into a 4 column stack which has been set to display these in a 2x2 grid (on desktop) and stacked on mobile. Adding the parallaxer stack to any container such as this will limit the width (and therefore height) to that of the container.
NB: You should be careful though to not add too much content as (unlike containers with background images) Parallaxer uses foreground images and therefore these can not overflow in the same way.
JUMP
Parallaxer offers the ability to 'unleash' your image. This setting removes the scale from the image (that is used normally to give the extra image size needed for the movement to happen) and so the image appears as it would normally. Instead the effect scale is used to control how far/fast the image moves across the page. The image below has been placed outside of this container stack and so is free to move across the whole page. NB: The effect has been disabled on a mobile device.
ZOOOM!!
Parallaxer allows you to adjust the scale of the parallax effect from 10 to 90.
The smaller the number that you choose the more subtle the effect. Parallax effect works best when it is more subtle but you can play about with this number to see what works best with your images. Using a larger scale works best if the image is bigger than the container otherwise the quality of the image may be reduced.
Parallaxer allows you to set the parallax effect to continue a little after the user stops scrolling. This adds a really intersting dynamic to the movement on the page.
Note: A delay of 10 equates to 1 second.
All images have been downloaded from Unsplash and resized and optimised to ensure that the images are small enough in size to work well online (but big enough to fill their space without degradation). The images have all been added to the RW project by dragging-and-dropping but Parallaxer stack offers the option of warehousing too.
I have included the credits below (in order of appearance on the page):
Thank you for you interest in Parallaxer stack. Enjoy!