Flickity slider hide dots if only 1 slide

Marko Krstić
20 Jun 2020

This can be done easily with 1 line of CSS code and only-child selector:

.flickity-page-dots li:only-child{
	display: none;

Was this article helpful?



Never miss new post again

Subscribe and get list of new posts in your inbox

Click to Copy