To properly position the slider handle, ensure that the left margin is set to half of the disc size, similar to setting the border-radius. Additionally, match the color of the left and right borders of the slider with the widget:
.ui-slider .ui-slider-handle {
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.08);
border: 14px solid #f9f9ff;
height: 53px;
width: 53px;
border-radius: 27px;
background: #ff4c60;
cursor: pointer;
margin-top: -9px;
margin-left: -27px; /* adjust margin to half of the width */
}
.ui-slider.ui-slider-horizontal {
border-left: 25px solid #ff4c60 !important;
border-right: 24px solid #ffffff !important;
}
.ui-slider.ui-slider-horizontal .ui-slider-range-min {
border-radius: 0;
}
Furthermore, make sure to tweak the footer according to your requirements:
.lc-slider-footer {
width: 100%;
padding: 7px 4px; /* custom footer adjustments */
display: flex;
justify-content: space-between;
align-items: center;
}