question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dots keep appearing even if it's one slide Version 1.7.1

See original GitHub issue

short description of the bug / issue, provide more detail below. Dots keep appearing even if it’s one slide "this problem if not mistaken appears only on 1.7.1 version I had to downgrade to 1.6.0 to get rid of the dots. thanks and all the best to slick team nice job!! " ====================================================================

[ paste your jsfiddle link here ]

This is my jsfiddle-link: http://jsfiddle.net/fmo50w7n/1350/

use this jsfiddle to reproduce your bug: http://jsfiddle.net/simeydotme/fmo50w7n/ we will likely close your issue without it.

====================================================================

Steps to reproduce the problem

  1. Add a single slide to the slider
  2. set dots: true
  3. Run the script 😉

====================================================================

What is the expected behaviour?

For single-slide sliders the dot-navigation should be hidden

====================================================================

What is observed behaviour?

Dot-navigation are added, even if there is only one slide in the slider.

====================================================================

More Details

  • Which browsers/versions does it happen on? *
  • Which jQuery/Slick version are you using? 1.7.1
  • Did this work before? When downgrading to 1.6 it works as expected.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:20

github_iconTop GitHub Comments

36reactions
Ant-Pavelcommented, Feb 3, 2018

Use “:only-child” selector

34reactions
CaliJenscommented, Jan 30, 2019

With above solution you don’t display the first dot when there are multiple slides. If you want a solution with .scss use following:

.slick-dots {
    > li {
        display: inline-block;
    }
    > li:only-child {
        display: none;
    }
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Cross, circle and dot keep appearing on my PowerPoint slides
I understand that the problem is the inability to cancel the strange graphics that appear when opening a PowerPoint slide.
Read more >
slick - the last carousel you'll ever need - Ken Wheeler
slick is a responsive carousel jQuery plugin that supports multiple ... Add, remove, filter & unfilter slides; Autoplay, dots, arrows, callbacks, etc.
Read more >
Two items in single slide dot issue [#3060177] | Drupal.org
Two items in single slide dot issue · 1)Create the view block and select the format as Slick Carousel · 2)In the Slick...
Read more >
nhi15047.pdf - Federal Highway Administration
When applying this principle to design, it is essential that both sides of the ... FHWA and Utah DOT published a Slide-In Bridge...
Read more >
The Elementor Pro Changelog- Version Updates
New: Introducing Loop Builder as a beta status experiment - Create powerful ... Fix: Translation update keep appearing as available after install (#14297) ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found