Make slider in block (not 100% width)

Hi once more. I am trying to make the slider fit in a block so that it is as wide as the rest. Is it possible?
My website is https://becool.shoes/
Thanks
Jean-Marc

Hi there

Hope you are having a good day and thank you for your question :slight_smile:
try this css:

.main-slider {
position: relative;
width: 1140px;
margin: 0 auto;
}

Thanks!
Colorlib Support Team

Hi, it works perfectly. Based on the solution you gave me I could also solve the problem on mobile phones. Perfect.
Gracias from Madrid.
Jean-Marc

Thank you too :slight_smile:

If you need something else just open a new ticket