Streaming live at 10am (PST)

Slider with invisible slide shifts too much to the left


#1

I have i slider on my page. the slides are images from a collection.
I hide every empty slide (no image in the collection = no slide).
Unfortunately the following slide after a none displayed one shifts in the mask too much to the left and the next slide shows on the right side.

Anyone an idea?


#2

I have an idea of what is causing the issue, but it is difficult to say without seeing the site.

Can you please share your Read-Only link :slight_smile:


#3

Here ist the link:

https://preview.webflow.com/preview/maeder-stooss?preview=853e2475a3e391390a730eb34cadc9f8

you have to go to the collection site to see the slider

You can see the problem only be the collection item «Hayoz, Gurmels»
There ist one picture that is empty and after that there fallows new images


#4

I think i figured it out.

i think a div placeholder in webflow has always a width and height so you can see the placeholder in the designer.

now i changed the width of the invisible div to 0px.
and then i don't have the shift.


#5

Thanks for sharing that @mark_artos

Has the issue been resolved? :slight_smile:


#6

yes i think so.
i have to do more tests but i think it works.

so now i have a slider from a collection and i can have empty sliders :grinning:

thats so great


#7

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.