Problem/Motivation
Hello,
I have create a carousel with image and a caption. (see attached file).
I choose image style of 100x100px.
On some div images a padding-bottom is added randomly in the line style. I have no regularity in the height of my carousel.
I don't unsterdant why.
How to fix this?
I try various skin but I have ever the problem.
| Comment | File | Size | Author |
|---|---|---|---|
| 2020-08-28_09h52_00.png | 76.33 KB | selinav |
Comments
Comment #2
selinav commentedAny idea why this padding is automatically added ?
Comment #3
gausarts commentedI hope you can make it one way another.
Your questions are answered in docs.
Historically:
https://www.drupal.org/project/slick_views/issues/2795415
You can disable padding hack by leaving Aspect ratio option empty.
Comment #4
demonde commentedI am using slick views and there is no aspect ratio settings. Though I get a padding-bottom.
Comment #5
gausarts commentedIt is at Fields > Images > Blazy for field formatter at left hand side of Views UI.
If no Blazy, change it from Image formatter to Blazy.
Padding bottom is added by the option named Aspect ratio. Adjust its value.
Comment #6
ivnish+1
This padding breaks adaptive height
Comment #7
gausarts commentedA friendly housekeeping before a new release.
> This padding breaks adaptive height
See #3 + #5. You can toggle Aspect ratio as needed. That is why it has an Empty option.
It doesn't solve every use cases as mentioned in the docs.
Feel free to re-open if still an issue. Thanks.