Tagged: x
-
AuthorPosts
-
May 18, 2016 at 1:19 pm #997856
BladeParticipantHello!
I’ve read some old threads, and from what I understand, the background image isn’t responsive, unless I add some additional CSS code?
On our homepage (https://unbanster.com), on the background image, those 2 characters from right and left remain static, and they won’t show up on mobile devices, and on my laptop they are cut off and look pretty bad.
If I need additional CSS for that, what will the proper code be nowadays?
We have the latest theme version.
Thank you!
May 18, 2016 at 3:55 pm #998101
DarshanaModeratorHi there,
Thanks for writing in! Can you please try adding this under Custom > CSS in the Customizer.
.home .x-section.bg-image { background-position: unset !important; background-size: contain; }Hope that helps.
May 18, 2016 at 7:55 pm #998501
BladeParticipantHello!
It works, kind of :). It makes the image responsive, but pushes down the content in that section, as you can observe in image number 1 that I attached. It should usually look like it’s displayed in the image number 2.
May 19, 2016 at 12:33 am #998838
Nabeel AModeratorHi again,
The only thing you can do is to give the background color if you want to display the full background image, so the text remains in the container.
.home #x-section-1.x-section.bg-image { background-position: unset !important; background-size: contain; background-color: #CEA973 !important; }Hope this helps!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-997856 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
