Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript Using jQuery Plugins Using a jQuery Carousel Changing the Appearance of the Carousel

Jason Welsh
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Jason Welsh
Treehouse Project Reviewer

Changing color of dots

I used .slick-active and .slick-active button and set the color to #fff, but it had no effect. How would I change the color of the dots?

stephen owen
stephen owen
14,918 Points

To change the color of the dots i used the following classes:

.slick-dots li button::before {
    font-size: 16px;
    color: #fff;
    opacity: 0.7;
  }

  .slick-dots li.slick-active button::before {
    color: #fff;
    opacity: 1;
  }