Background image is not responsive.

5 replies · opened Jan 18, 2022

Mmille14Jan 18, 2022

Hi there,

I used the https://themes.semicolonweb.com/html/canvas/coming-soon-2.html template for a coming soon site and found out that the background is not responsive to smaller devices such as mobile phones. Is there a way to make the background image be responsive and show exactly the same on all devices?

Thank you for your assistance in advance.

Regards,

Mille

SSemicolon WebSTAFFJan 18, 2022

Hello,

Background Images in general are not resizable. We can resize the Section Dimensions on Mobile Devices which will make the Background Image adapt to the Container. Consider using the following code replacing the existing code:
[ch_pre][/ch_pre]

This should definitely work fine. Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Mmille14Jan 19, 2022

Hi There,

Thank you so much for the prompt response. It did work but unfortunately, the writing blocked her face.

Much appreciated. Any updates coming soon for the template?

Regards,

Mille

SSemicolon WebSTAFFJan 20, 2022

Hello,

You can consider using the following code to adjust the Heights according to different devices and choose what looks best:
[ch_pre type="css"].device-xl .swiper-element {
height: 100vh !important;
}

.device-lg .swiper-element {
height: 100vh !important;
}

.device-md .swiper-element {
height: 80vh !important;
}

.device-sm .swiper-element {
height: 60vh !important;
}

.device-xs .swiper-element {
height: 50vh !important;
}[/ch_pre]

You can change the values and also set fixed heights. The Responsive Classes are as follows:

.device-xl – Class for Large Devices >=1200px

.device-lg – Class for Medium Devices >=992px to 1199px

.device-md – Class for Tablets

.device-sm – Class for Landscape Mobiles or Phablets.

.device-xs – Class for Portrait Mobiles

Hope this Helps!

A minor update with some fixes and plugin updates will be released later today. And a Major Update with many more templates, new useful features, improvements and major design changes is on the way. We will provide an accurate release date at a later date.

Let us know if we can help you with anything else or if you find any further issues.

Mmille14Jan 21, 2022

Thank you so much for the option you provided and the update regarding the template. Looking forward to the new release.

Regards,

Mille

SSemicolon WebSTAFFJan 21, 2022

Hello,

Very Happy to Help! :)

Do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard