left aligned pictures in carousel
-
hey!
i have photos in different formats in one carousel and i want to have them to be left aligned. I couldn‘t find any option about this, they are always centered.
Maybe someone here knows a solution – thanks! -
Hi Colin,
try to put this into your Custom CSS.
.col .lay-carousel img.h100 { left: 25%; }
Let me know if that works for you!
Best!
Marius
-
Thanks for the reply, but unfortunately it doesnt work yet.
Its to far left and the high-format ones are still centered.
here you can have a look.
Best,
Colin -
Hi Colin,
ok. That makes sense.
Try this:
.col .lay-carousel img.h100 { -webkit-transform: translateX(0%); -ms-transform: translateX(0%); transform: translateX(0%); left: 0%; }
All the best!
Marius
-
@mariusjopen Thank you very much – it works now.
Best, Colin -
Ah! Glad to hear! :-)
Before you post
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it