Tagged: x
-
AuthorPosts
-
May 13, 2016 at 8:09 am #989676
goldbaumParticipantHi,
See http://www.tomsfotohokje.nl
How can I have the background image on its original size, without the zoom?Further, how can I adjust the height of a section, matching the height of the background image?
May 13, 2016 at 11:33 am #989907
RahulModeratorHi there,
To fix the parallax, You can add this under Custom > CSS in the Customizer.
.x-content-band.bg-image { background-size:contain !important; }The above given CSS will force the background to remain inside the content band, however you can use following CSS code instead, which will show the original size of the image:
.x-content-band.bg-image { -webkit-background-size: auto !important; background-size: auto !important; }To use images with parallax, you can try using the images of double height of the content band.
Thanks!
May 14, 2016 at 6:08 am #991152
goldbaumParticipantThis reply has been marked as private.May 14, 2016 at 7:43 am #991210
ChristopherModeratorHi there,
Please update previous code to :
.x-section.bg-image { background-size:contain !important; }You can add gap element or add top and bottom padding to section to adjust its height.
Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-989676 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
