Tagged: x
-
AuthorPosts
-
May 22, 2016 at 4:16 pm #1004143
Kamila LParticipantHello,
I have a background image behind my video on the homepage. However the background parrallx effects arent reflected on the mobile version… the background isnt positioned correctly on the mobile version but looks great on the desktop version.
How do I fix this? Appreciate your help
Thanks,
KMay 22, 2016 at 10:10 pm #1004503
LelyModeratorHello Kamila,
Please add the following CSS on Appearance > Customize > Custom > Edit Global CSS:
@media (max-width: 480px){ .home div#x-content-band-1 { background-attachment: initial; background-size: cover; } .home #x-content-band-1 hr.x-gap { margin: 3em 0 0 0 !important; } }Hope this helps.
May 23, 2016 at 7:59 pm #1006271
Kamila LParticipantHello,
Thanks for the above.
So i added the code above but I am still unable to view all the of the text on the background picture on mobile… (samsung galaxy 4) any other suggestions?
Thanks,
KMay 23, 2016 at 10:32 pm #1006510
John EzraMemberHi there,
Thanks for updating the thread! You can add this under Custom > CSS in the Customizer or in your child theme’s style.css file.
@media (max-width:480px) { div#x-content-band-1 { background-position: 50% 0px; } }Hope this helps – thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1004143 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
