KPMT
(Kristine)
March 29, 2018, 1:13am
1
Hi there! Just curious - I’ve got a slider going on my page, but I cannot for the life of me figure out how to edit the individual slider nav buttons. Right now they are looking more oval than the circle I’d prefer:
Any tips on how to adjust this? Thank you!
Here is my site Read-Only: LINK
**Side note: I’m REALLY loving Webflow so far…muddling through, but LOVING it!
vincent
(Vincent Bidaux)
March 29, 2018, 11:52am
2
% is used to define their radius, hence the possibility for them being oval rather than round.
You can add custom code to have more rounded corners
.w-slider-nav.w-round > div {
border-radius: 20px!important;
}
Still you won’t get perfect discs because the dimention changes depending on the digits inside.
http://vincent.polenordstudio.fr/snap/rcoq3.jpg
To have perfect pixels you need to force some dimensions.
.w-slider-nav.w-num > div {
width: 30px!important;
height: 30px!important;
padding: 4px!important;
}
http://vincent.polenordstudio.fr/snap/hin65.jpg
1 Like
KPMT
(Kristine)
March 29, 2018, 5:31pm
3
Thank you @vincent ! Being a new user here, is that code something I’d need to add into the custom code area of the page settings?
If that code is inserted, is it something you can see change dynamically, or does the page have to be published out first?
Thanks again!
vincent
(Vincent Bidaux)
March 29, 2018, 7:51pm
4
if you add the code inside of a custom code box inside the page then you’ll see the effects right in the designer.
Wrap the code into <style> ... </style>
tags.
1 Like
KPMT
(Kristine)
March 30, 2018, 2:49am
5
@vincent - thank you kindly!
vincent
(Vincent Bidaux)
March 30, 2018, 7:44am
6
Sorry I was on mobile. Did you succeed? Here’s the complete code:
<style>
.w-slider-nav.w-round > div {
border-radius: 20px!important;
}
.w-slider-nav.w-num > div {
width: 30px!important;
height: 30px!important;
padding: 4px!important;
}
</style>
1 Like
KPMT
(Kristine)
March 30, 2018, 5:35pm
7
@vincent Oh, no worries at all - thank you again! I’m assuming this works - unfortunately I haven’t had a chance to try it out yet since custom code embed isn’t available to people on free plans.
KPMT
(Kristine)
April 5, 2018, 4:34am
8
vincent
(Vincent Bidaux)
April 5, 2018, 7:17am
9
Hurray for round buttons! Thanks for telling me.
1 Like