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

Image Carousel

S

sydk2017

SP Page Builder 3 weeks ago

Hello,

I need to be able to display images that rotate (with a link to different pages) but are always 100% height and 100% width.

Image carousel will squeeze the images, and setting desktop, tablet, mobile devices height dosen't always work.

Is there some way to force image carousel to always display the image at the correct dimensions, correct proportions?

Or, is there a different way to have rotating images that keep their proper dimensions?

I used to use Simple Spotlight Pro for this - but it hasn't been updated since Joomla 4, it's been working with Joomla 5 so far, but when I move to Joomla 6 I need to find a better solution.

Thanks in advance,

Syd

0
10 Answers
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 weeks ago #208628

Hi,

Thanks for reaching out to us. You need to set the width and height in the settings, or you can use custom CSS to adjust the image proportions to your preference. For CSS guidance, you can follow this blog:

https://www.joomshaper.com/blog/which-line-of-css-i-have-to-edit-code-inspector-in-action

-Regards.

0
S
sydk2017
Accepted Answer
3 weeks ago #208629

Hi Mehtaz,

Sorry - but your answer was no help whatsoever. I regularly use the developer tool and I tried to change the CSS already but the image was still squeezed on different devices. There was no way I could find to make the image always the same proportions. Setting the width and height in the settings dosen't help either becuase if the browser window isn't at full width, the image is squished.

To reiterate - I need to know how to force image carousel to always show the image at the proper proportions no matter what device it's being seen on.

Thanks in advance for any insight you can offer.

Syd

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 weeks ago #208702

Hi

I am sorry to say that there is no default option to do that. You can do it only CSS.

0
S
sydk2017
Accepted Answer
3 weeks ago #208703

What CSS would I use then? Nothing I have tried so far works,

Thanks,

Syd

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 3 weeks ago #208704

Give me your site URL please.

0
S
sydk2017
Accepted Answer
3 weeks ago #208728
0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 weeks ago #208871

Hi

Use this CSS in your custom.css file

.sppb-carousel-extended-outer-stage{
  width: 1600px !important;
  height: 600px !important;
}
0
S
sydk2017
Accepted Answer
2 weeks ago #208881

I added the code, but the images are still not the correct size. You can see it here: https://www.daiquirideck.com/home25

Also - I see that the slider does not work at all on Microsoft Edge.

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 weeks ago #208883

It seems ok on my end. I have checked it on Chrome.

This code does not affect the slider. It just gives the slider width and height. For the stop working side, you can create a new forum post about that new issue. Our team will help you.

0
S
sydk2017
Accepted Answer
2 weeks ago #209136

Sorry, but you've really been no help at all. Seems like a pretty simple thing to have an image slider that just shows the whole image equally proportionate on every device. I'll have to look for another solution.

0