Hey there,
I’d like to deactivate border and padding on classic slider. Ran into a problem. Once I deactivate padding and border, the next slide is displayed.
Thanks for your help!
Hi @zero_to_one,
Thanks for reaching out.
The width of the slides is calculated based on the size of the container in which the slider is present and the border is included with it. If you have removed the border and padding you need to set the width to auto from the fixed width.
You need to add the following custom CSS code into the Element CSS of that specific Classic Slider element where you want this.
.x-slide.flex-active-slide
{
width: auto;
}
Please remember that the above code will work if copied as it is and doesn’t conflict with any existing style.
Please note that the code provided serves only as a guide to help you get started custom coding on your own if there’s no option offered in our theme or the products we bundle.
We really do not provide support for custom codes that means we can’t fix it in case it conflicts with something on your site nor will we enhance it.
Thanks
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
