Add

Lorem ipsum

Lorem ipsum

A
A
A
Design

0 views

4 min

Customize the design of slider dots in Webflow

1. Add an embed element and paste in this code

CSS propertySelectorDescription
backgroundw-slider-dotInactive dot color
backgroundw-slider-dot.w-activeActive dot color
width / heightw-slider-dotDot size
border-radiusw-slider-dotShape (24px = round, 0 = square)

Tip from Gemeos Webflow agency: adding your code in an embed element instead of in your page settings lets you see the result directly in Webflow without having to publish your site. Super handy for iterating on your CSS design without wasting time. Visible only for HTML/CSS code.

Custom code embed Slider dot Webflow
 

2. Add the style you want

Default design

Color: Enter your desired color instead of the hex code #E0E1DD

Design: Set the desired width, height, and radius by changing the width, height, and border-radius.

CSS Slider dot Webflow

Active design

Same idea as the default state, but for the selected active state by adding "w-active" to the class ".w-slider-dot".

CSS Slider dot actif Webflow

3. Publish, and you're done

good to know

In 2026, Webflow improved global CSS variables. You can centralize your dot colors in Webflow CSS variables and reuse them in your embed to make maintenance easier.

Bonus Tips

To optimize the design of your slider dots on mobile, you can use a media query to target mobile-sized screens. 

Add the code below to your <style> tag

 

Good to know

Heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Lorem ipsum dolor sit amet consectetur.

Lorem ipsum dolor sit amet consectetur. Aliquam orci sagittis dignissim sapien praesent donec.

Lorem ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Published on 10.04.2025

You might be interested in these tutorials

Similar tutorials

SEO / GEO

5 min read

5 views

How to Set Up a Redirect in Webflow? (2026)

Updated on 19.12.2025 by Sandro DA SILVA

SEO / GEO

5 min read

5 views

Add structured data to your Webflow site?

Updated on 21.08.2025 by Sandro DA SILVA

No-code

5 min read

5 views

How to Obfuscate a Link in Webflow

Updated on 23.04.2025 by Sandro DA SILVA

Let’s f*****G GO !!

Ready to launch
Your business?

Alexandre

Max

Enora

Bryan

Cannelle

Tiphaine

You'll :heart: our collaboration...