我正在使用Nivo滑块和Twitter Bootstrap一起使用的项目。我遇到了一个可能无法解决的问题,因为Nivo可能无法为其构建。但我试图将使用span12的当前滑块转换为全宽滑块。这是可能的,或者我应该只是在寻找一个全宽滑块来整合?我目前的观点是。制作Nivo滑块全角
<div class="slider-wrapper theme-default">
<div class="row">
<div class="span12">
<div id="nslider" class="nivoSlider">
/* Nivo SLider */
.nivoSlider {
position:relative;
width:100%;
height:auto;
overflow hidden;
}
.nivoSlider img { position absolute; top:0px; left:0px; max-width:none; }
.nivo-main-image {
display: block !important;
position: relative !important;
width: 100% !important;
}
Nivo滑块响应。尝试将Nivo滑块放在'.span12'类中,应该可以工作。 –