如何编辑或禁用 [​​=10=]-item 中的宽度?

how edit or disable width in owl-item?

如何在 owl 轮播中编辑或禁用宽度 "owl-item"?

我在照片中的含义:

我通过

行动

( style.css > .owl-item { width : 80px;} ) ,但没有用

如果您想在 style.css 中覆盖 div 的宽度 -> 如下所示进行更改,

.owl-item { width : 80px !important; }

!important -> 指定样式将应用于 css 元素,无论元素中提到的样式如何。

如果您想知道它是如何应用的,请查看 link

希望对您有所帮助。