I feel like we’re missing something… is there a way to vertically center the content within WW native slider component? Keep going in circles and can’t seem to figure it out. Is it a bug, or just not available?
Hey @forgelab !
I don’t think that there is a native way of doing that on the slider component. But you can always add custom css to achieve that. You’d want to target the swiper-wrapper class.
.swiper-wrapper {
align-items: center;
}
Hmm, the listed display options for the slider element are block and
inline-block`. I think align-items requires a flex container.
1 Like
Yes, you need to target this class directly in custom code. You can put that in an HTML Embed between tags to preview it on the Editor.
Got it, now I understand, @jptrinh thanks for helping out. i was mistakenly thinking that .swiper-wrapper was a placeholder and i was to update with my own names. i see now that is the native element you’ve shared and i see it’s now working. thanks much!
1 Like