We've implemented a simple CSS solution to modify the color of the navigation dots in the slider component. This approach allows easy customization while maintaining consistency with your overall design theme.
Locate the custom code section in your Webflow project settings.
Find the CSS snippet shown above.
/* Slider navigation background color */
.w-slider-nav-invert > div {
background-color: **var(--neutral-colors--300)** !important;
}
/* Active state background color for slider navigation */
.w-slider-nav-invert > div.w-active {
background-color: **var(--primary-colors--100)** !important;
}
Modify the color values as needed:
var(...)
statement with a HEX color code.background-color: #FFAA00 !important;
Previous
<aside> 📐 Mega menu cropping
</aside>
Next
<aside> ▶️ Marquee sliders
</aside>