Is there a way to preserve parallax scroll on a page header when appearing on mobile? We are using a video for a full page header, but have it set to use preview image on mobile. We've un-checked the option in the general setting to remove parallax on mobile, but still the effect isn't working.
I dont believe the Parallax applies to the Preview Image though you can use below css code to activate it .
Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):
@media only screen and (max-width: 690px) {
body[data-remove-m-video-bgs="1"] .mobile-video-image {
background-attachment: fixed !important;
}
}
Hey again,
Is there a way to preserve parallax scroll on a page header when appearing on mobile? We are using a video for a full page header, but have it set to use preview image on mobile. We've un-checked the option in the general setting to remove parallax on mobile, but still the effect isn't working.
Hey Again,
I dont believe the Parallax applies to the Preview Image though you can use below css code to activate it .
Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):
Thanks
ThemeNectar Support Team
Thanks Tahir!
When I insert the code, the image becomes extremely large and there's still no parallax. I've attached a screengrab.
Try Purging your cache.
Also it seems to work perfectly when added to the Live Browser :
Thanks
ThemeNectar Support Team