Jquery detect if first slide

Hi, I need to hide an element on my page only if the slider is showing the first slide. Is this possible with the webflow slider ?


	$(document).ready( function(){
		if($('.w-slide:nth-child(2)').is(':visible')){ // if second slide is visible, hide element.
		else{ // if second slide is not visible, show element

Can you give me your share link, so I can test if this will work :slight_smile:

1 Like