-
AuthorPosts
-
June 2, 2015 at 8:23 am #452960
How is it possible to have an image that is full width of the screen? Similar to the site in private reply
June 2, 2015 at 1:34 pm #453119Hi mrivanp!
Which are do you want to use that image at?
Cheers!
BasilisJune 2, 2015 at 11:31 pm #453419At the top – as a header.
June 3, 2015 at 1:42 am #453465Hey!
Try using a Color Section (set the image as the background of it).
Regards,
JosueJune 3, 2015 at 3:24 am #453508This reply has been marked as private.June 3, 2015 at 3:30 am #453512Hi!
You can add this to the Quick CSS:
#av_section_1 .av-parallax { background-size: 100% 100% !important; height: 100% !important; width: 100% !important; transform: none !important; }But as the section width is equal to the full width of the window size the image will be stretched based on that.
Cheers!
JosueJune 3, 2015 at 4:34 am #453553This reply has been marked as private.June 3, 2015 at 7:47 am #453582Hey!
Can u show us the code you are using, and let us know where you adding it?
Cheers!
BasilisJune 3, 2015 at 10:21 am #453661This reply has been marked as private.June 3, 2015 at 11:30 pm #454132Try with this code instead:
#av_section_3 { background-size: 100% 100% !important; }Regards,
JosueJune 4, 2015 at 2:17 am #454181This reply has been marked as private.June 4, 2015 at 2:39 am #454183That’s expected, the section width is equal to the full width of the window size so the image will be stretched sized based on that. One thing you could do is to set a minimum height to the section (~300px). If that doesn’t satisfy you, remove the background image from the section and place it inside of it instead (as an image elemen), then add this to Quick CSS:
.responsive #top #av_section_3 .container{ max-width: 100%; width: 100%; margin: 0; padding: 0; } .responsive #top #av_section_3 .content{ padding: 0; } .responsive #top #av_section_3 .avia_image { width: 100%; } .responsive #top #av_section_3 .avia_image img { display: block; }Regards,
Josue -
AuthorPosts
- You must be logged in to reply to this topic.
