Tagged: color section
-
AuthorPosts
-
November 21, 2025 at 3:07 am #1491607
Hi,
I want a background image in a colour section to extend full screen width horizontally and not be cropped vertically. If I set a minimum height, the image does not cover full screen width. If I don’t, it is cropped vertically.
http://www.cuisine-chinoise.org
Best regards,
SergeNovember 21, 2025 at 9:28 am #1491623Hey photographie-tous-azimuts,
Thank you for the inquiry.
This is possible by setting the background image size to 100%, but the image may become distorted. We recommend resizing the image to have a 16:10 aspect ratio, or as close as possible to the aspect ratio of the container you plan to use. Then set the Styling > Background Image > Background Repeat to “Stretch to fit”. Unfortunately, the image may still be partially cropped on some screen sizes.
Best regards,
IsmaelNovember 21, 2025 at 2:52 pm #1491652Thanks Ismael,
Is it possible to fix it with custom CSS to always show the whole image and get it smaller vertically on wide screens? I don’t want the image take too much space vertically. This is why it has wide panoramic proportions.
Best regards,
SergeNovember 24, 2025 at 7:16 am #1491716Hi,
Thank you for the update.
Have you tried using the Fullwidth Slider? You can also try this css to limit the size of the color section on smaller screens.
@media only screen and (max-width: 768px) { /* Add your Mobile Styles here */ #top .avia-section.av-zjsv-901082093e6d72f3482787541e1c8070 { max-height: 200px; background-size: contain; } }You may also need to adjust the elements inside the color section. We recommend applying custom css class names to the elements inside the text block, as they are custom coded, so you can modify their style for smaller screens.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.

