-
AuthorPosts
-
November 3, 2015 at 7:47 am #650730
DoanbeStaffParticipantHi,
I’m a problem with background parallax effects on mobile devices: background images don’t scroll inside the div container and its appears like a normal static image.
I ‘ve read some service requests like , I tried using the codes CSS and scripts in the customizer , but not working .
Can you help me? thanks
November 3, 2015 at 8:05 am #650752
Paul RModeratorHi,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
November 3, 2015 at 8:08 am #650754
DoanbeStaffParticipantThis reply has been marked as private.November 3, 2015 at 9:51 am #650862
ZeshanMemberHi there,
Thanks for the URL!
Parallax is disabled on mobile devices by default. However, you may try adding this CSS code under Custom > CSS in the Customizer to fix the background images:
.touchevents .x-section.parallax { background-attachment: fixed !important; }Thank you!
November 3, 2015 at 11:42 am #651002
DoanbeStaffParticipantHello,
Thank you for your answer.
However still does not work on mobile …November 3, 2015 at 12:47 pm #651104
JadeModeratorHi there,
Please try to use this CSS instead:
@media (max-width: 979px) { .x-section.parallax { background-attachment: fixed !important; } }Hope this helps.
November 3, 2015 at 1:00 pm #651120
DoanbeStaffParticipantHi,
no way, unfortunately still it does not work …November 3, 2015 at 3:06 pm #651278
JadeModeratorHi again,
Would you mind providing us with the login details for your admin section so we can check on this further? Thank you.
November 3, 2015 at 3:47 pm #651326
DoanbeStaffParticipantThis reply has been marked as private.November 3, 2015 at 9:02 pm #651596
FriechModeratorHi There,
Thanks for the credentials. The code provided above works fine
.touchevents .x-section.parallax { background-attachment: fixed !important; }See the screen-cast below and notice the background behaviour before and after I place the code on Custom CSS
Make sure you clear your browser’s cache before previewing, so the browser serve the updated page.
Hope it helps, Cheers!
November 4, 2015 at 7:14 am #652144
DoanbeStaffParticipantI’m sorry, but it still works.
I have changed devices and updated the cache, but it does not produce results :/November 4, 2015 at 8:39 am #652264
ZeshanMemberHi Doan,
I’ve checked your site and it looks like you’ve disabled parallax from the images, kindly check this screencast: http://recordit.co/LZe1JtaHSs. Note that the provided code will only work when parallax is enabled in your sections.
Thank you!
November 10, 2015 at 7:47 am #659559
DoanbeStaffParticipantYes, but also to activate parallax on images it doesn’t works on mobile devices.
Can you help us? thanksNovember 10, 2015 at 12:11 pm #659911
ZeshanMemberHi Doan,
Sorry for the confusion earlier!
Background image fixed positioning is disabled by default in mobile devices especially iOS. You may find more information on it here: http://stackoverflow.com/a/23420490/3107931
The solutions provided above will work when tested on desktop browsers but won’t work on actual mobile devices.
Thank you!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-650730 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
