In the moving gallery, can I get image slider with images of different sizes and orientations (i.e. different width and height and a portrait and landscape)?
I found this css code and wonder if you can provide something that will work with the Serano theme Moving Gallery to create irregular sizes within the gallery? I am happy to keep the same height of 400 pixels. Just the widths would be irregular. Different lengths for widths only. Thank you in advance.
This is a bit beyond my support abilities as there may be some complex css involved however let's try to reset the fixed heights and widths of the images first with the following css
.moving-gallery li {
width: auto;
}
.moving-gallery li img
{
height: auto;
width: auto;
max-width: none;
max-height: none;
display: block;
}
if you don't care about the height you can remove the height related attributes. Add the code to customizer -> additional css. Let me know how it goes, as you have the potential images. If not, I will have to escalate your ticket to our web designer
My apologies, since I obviously didn't see your reply. Normally, I would get an email notification.
I am attaching a video so you can see how the sizes and spaces in between each image are uneven. I do want to keep all the images at a set height of 400 pixels. Is it possible to achieve a uniform space between each image. Say, a 20 pixel space? I will try your code below. Perhaps we can get the Serano designer to suggest something if you escalate this upward?
Again, please accept my apologies. I didn't see your response.
In the moving gallery, can I get image slider with images of different sizes and orientations (i.e. different width and height and a portrait and landscape)?
Attached files: Screenshot 2025-05-20 at 19.03.20.png
I found this css code and wonder if you can provide something that will work with the Serano theme Moving Gallery to create irregular sizes within the gallery? I am happy to keep the same height of 400 pixels. Just the widths would be irregular. Different lengths for widths only. Thank you in advance.
.slider {
position: relative;
max-width: 600px; /* Adjust as needed */
margin: auto;
overflow: hidden;
}
.slides {
display: flex;
transition: transform 0.5s ease;
}
.slides img {
max-width: 100%;
max-height: 400px; /* Adjust for height */
margin: auto; /* Center the images */
}
button {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: rgba(255, 255, 255, 0.7);
border: none;
cursor: pointer;
padding: 10px;
font-size: 18px;
}
.prev {
left: 10px;
}
.next {
right: 10px;
}
Dear Paul,
This is a bit beyond my support abilities as there may be some complex css involved however let's try to reset the fixed heights and widths of the images first with the following css
width: auto;
}
height: auto;
width: auto;
max-width: none;
max-height: none;
display: block;
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
My apologies, since I obviously didn't see your reply. Normally, I would get an email notification.
I am attaching a video so you can see how the sizes and spaces in between each image are uneven. I do want to keep all the images at a set height of 400 pixels. Is it possible to achieve a uniform space between each image. Say, a 20 pixel space? I will try your code below. Perhaps we can get the Serano designer to suggest something if you escalate this upward?
Again, please accept my apologies. I didn't see your response.
All best, Paul
Attached files: Screenshot 2025-05-28 at 11.22.29.png
I gave up on the moving gallery. I found another solution. Thank you! And again, I apologize for the pert message. I didn't see the response.
Cheers
Not a pb Paul, glad everything has been sorted out
Thank you.
Clapat Support
Review Envato Item Support Policy
Follow us!
https://www.clapat.com/
https://www.facebook.com/clapat.ro
https://www.instagram.com/clapat.themes/
https://x.com/clapatdesign
https://www.linkedin.com/company/clapatstudio
https://www.tiktok.com/@clapatstudio
Thank you! thank you! thank you! The site really looks good.