I have a cascading image setup (layered w/ parallax) as a hero image on this landing page. I've been able to get it centered, and operating correctly on desktop. However, on mobile, the image is a postage stamp in size. When I try to increase the size of the image layers, they get bigger, but also shift to the right and off the screen view. Not sure how to prevent that from happening - or if there's a better method to achieve what we have going on.
It's currently set to hide the cascading images on mobile, and replaces with a static flat image. I'd like to keep the parallax effect on mobile.
This is what it looks like on mobile using the cascading images. If you reference it to the desktop view you will see the layers do not align correctly. They seem to stack up towards the top.
Additionally I'd like to reduce the margin on the sides, so the logo appears bigger on mobile view. When I use the setting Max Mobile Width and set it to something like 125 or 150%, it shifts the image to the right and off the screen, rather than keeping it center.
Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related. If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help.
I have a cascading image setup (layered w/ parallax) as a hero image on this landing page. I've been able to get it centered, and operating correctly on desktop. However, on mobile, the image is a postage stamp in size. When I try to increase the size of the image layers, they get bigger, but also shift to the right and off the screen view. Not sure how to prevent that from happening - or if there's a better method to achieve what we have going on.
It's currently set to hide the cascading images on mobile, and replaces with a static flat image. I'd like to keep the parallax effect on mobile.
Hello Scott,
Thanks for writing to us.
This is how it shows on my end :
Please let us know how you would want this to appear.
I look forward to your response.
This is what it looks like on mobile using the cascading images. If you reference it to the desktop view you will see the layers do not align correctly. They seem to stack up towards the top.
Additionally I'd like to reduce the margin on the sides, so the logo appears bigger on mobile view. When I use the setting Max Mobile Width and set it to something like 125 or 150%, it shifts the image to the right and off the screen, rather than keeping it center.
Attached files: Screenshot 2024-06-27 at 1.19.27 PM.png
Hi Scott,
Thanks for writing back.
To make the changes as requested, you will need to add some custom CSS code. To do this, please follow these steps:
From your WordPress dashboard, Navigate to Salient > General Settings > CSS/Script Related. In the custom code area, insert the provided CSS snippet:
Once the code is added, save and refresh the page to see if the change has been applied. In case it helps, please check this section from the documentation on CSS/Script Related. If this does not work as expected or If you have any further questions or need additional assistance, don't hesitate to write back, I'm happy to help.