Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 13d 02h 13m 21s
Claim 50% off
Solved SP Page Builder

How to keep aspect ration of inages in an inage carousel

Asked by Peter Hunkeler 1 year ago Last activity 1 year ago

Hi,
This is the first time I'm trying to add an image carousell to a page. While it basically works, I can't seem to find out how to make the carousel keep image aspect ration on differenc devices. There can only see a height option, and this one seems to be in pixels, not percent. What am I missing?

Accepted answer

Marked as the solution
Ziaul Kabir Staff
1 year ago · edited

Hello Peter,

Thank you for reaching out to us!

When you set the height in the carousel, it applies to the entire carousel, not the images themselves. By default, the image height is set to 100%, so the images will adjust accordingly. If you don’t want to set a fixed height for the carousel, I recommend ensuring all your carousel images are the same height. This way, they will automatically be responsive without needing individual height adjustments.

Currently, to ensure a consistent layout, we have set a default height of 500px for the carousel items’ parent class. When you specify a height, it will override this default. If you’d like to remove it, you can apply custom CSS targeting this class with the !important to override the default styling.

Is there anything else I can assist you with?

Thanks,

4 more replies

Peter Hunkeler Asked this

Hello Ziaul
Thanks for responding. All my carousel images are the same height, and width. I'll have to look into this again, and see if I can find out what happens in detail.

Thanks

Ziaul Kabir Staff

Hello Peter,

Thank you for your reply. Currently, there is no option to edit this subject. However, don’t worry, search engine is smart enough to match this post with relevant results when someone searches.

Thanks!

Ziaul Kabir Staff

Hi,

I haven’t heard back from you for a while. Could you please let me know if the issue has been resolved? We need to close this post soon.

Looking forward to your update.

Thanks,

Peter Hunkeler Asked this

Hallo
I have not looked into Image Carousels any further for the time being. Have been looking for other solutions. Go ahead a close the post

Ziaul Kabir Staff

If you believe the issue has been resolved or no longer requires a solution, please mark this question as complete by accepting any suitable answer.

Thank you!

Log in to reply.