# Remove one slide from the slider

Hi, I have a question is there a way to delete one slide from a slider, after some time, without having still an empty slide after that?

I use such code:

``````setTimeout(function () {
\$('.w-slide:nth-child(1)').remove();
Webflow.require('slider').redraw();
}, 3500);
``````

As you see I want to delete the first slide, and than try to redraw the slider, but the empty space after slide is removed is still visiible. Is there any way to make slider rebuild to work without that empty space?