Proportions In Image Carousel On Smartphones - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Proportions In Image Carousel On Smartphones

GD

Georg Doll

SP Page Builder 2 years ago

Hello, I have a problem with "image carousel" (and the same in "carousel" and "carousel pro"). When displayed on a smartphone it modifies the width of the image to fit into the screen, but it doesn't change the height of the image. It tried to work with "height" and "height window" but that hasn't any influence on the height of the image. Is there a way to fix this? Best regards, Georg

Example: https://www.kepler-privatschulen.de/index.php?option=com_sppagebuilder&view=page&id=119 It looks great on landscape screen (pc, laptop) but the 16:9 images become an almost 1:1 image on a smartphone.

0
7 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #110739

Hi

Thanks for contacting us. Could you please give me a screenshot of your issue?

-Regards.

0
GD
Georg Doll
Accepted Answer
2 years ago #110933
0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #111146

Isn't it ok? It seems fine to me.

0
GD
Georg Doll
Accepted Answer
2 years ago #111187

Have you seen both screenshots? On PC screen it looks fine, on smartphone it doesn't.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #111363

Yes I see. Isn't it ok?

https://prnt.sc/uhDgs5U6ZFJe

I mean on small screen it will be small right? And the resolution is also perfect.

0
GD
Georg Doll
Accepted Answer
2 years ago #111372

I'm talking about the edgewise display, not landscape. There it makes the width smaller, which is ok, but it doesn't correct the height proportional. As you can see: On big screen it is 16:9 on small screen it is almost 1:1, a circle becomes an ellipse on small screens (edgewise!). So the resolution may be ok, but the ratio width:height isn't on edgewise display.

The news carousel on the front site works edgwise and landscape but the employee doesn't like some other features of this carousel which can't be changed by me. So I need to switch to a different one.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #111573

You can use this custom CSS and set the width and height from here

@media (max-width: 844px){
.sppb-carousel-extended-item img{
    height: 300px !important;
    width: 300px !important;
}
}

Path towards custom CSS: Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

0