Я сделал всё по инструкции, но ничего описание не появилось
Additional Gallery elements
It is possible to add additional elements to the Gallery widget, e.g. a description label.
First, add the desired HTML element to the Gallery widget:
<div id="blueimp-gallery" class="blueimp-gallery">
<div class="slides"></div>
<h3 class="title"></h3>
<!-- The placeholder for the description label: -->
<p class="description"></p>
<a class="prev">‹</a>
<a class="next">›</a>
<a class="close">×</a>
<a class="play-pause"></a>
<ol class="indicator"></ol>
</div>
Next, add the desired element styles to your CSS file:
.blueimp-gallery > .description {
position: absolute;
top: 30px;
left: 15px;
color: #fff;
display: none;
}
.blueimp-gallery-controls > .description {
display: block;
}
|