I was trying to make a layout here. And came across a slider. I wanted to do it with Owl corousel, but I can't understand how to write styles to it. That is, how to position it in the center enter image description here

So far, that's such a crap. enter image description here

1 answer 1

It needs to be inserted into the wraper . Which in turn will have the code:

.wraper { display: table; //необязательно width: 980px; //тут твоя ширина контента margin: 0 auto; //центрирование } <div class="wraper"> твой слайдер </div>