Greenshift Slider Block – Auto height does nothing no matter what
-
Reproduction
- Create a native gallery with 5 images.
- Convert it to a Slider block.
- Select the slider block (the container, not the slides) → Inspector → General → General
- Set “Auto Height” ON.
Expected: With Items per Row = 1 the image fills the full width (=1 item / 1 row = 100%) of the parent container (=Slider block) which gets its width dimensions according to its block alignment None (=content-width, 650px in TT3) | Wide (1200px) | Full Width. The Slider container height adapts to this accordingly to the aspect ratio of the current image. Any margings/paddings ofc are considered too. When stepping through the images the slider height dynamically changes for images with a different aspect ratio.
Actual: Nothing happens in the Block Editor environment and also the Frontend. Regardless of tinkering all related options I could think of:
- Slider block alignment: Full | Wide | None
? makes no difference
Left it with None. - Inspector → General → Spacing & Height:
I tried the RESET button:
Then the Desktop height is set to 160px (seems the default).
Btw, there is no way to completely “unset” this value!
I cleared the value field. It visually clears (but its data representation doesn’t as I soon learned). Clicked the breakpoint buttons. All lower ones were cleared. But as soon as you click the Desktop one it is filled with 160px again.
? Seems that “Auto Height” is not overriding whatever is filled here. And you can also not clear the concrete Height here.
Environment
- Greenshift 6.3
- WordPress 6.2.2
- Gutenberg plugin 15.9.1
- TT3 theme
- The topic ‘Greenshift Slider Block – Auto height does nothing no matter what’ is closed to new replies.