adds title. changes css
This commit is contained in:
parent
2e3a5e2f03
commit
7310d43c3c
|
@ -34,9 +34,9 @@
|
|||
opacity: 0;
|
||||
transition: opacity 0.3s ease-in-out;
|
||||
}
|
||||
.archive-gallery .gallery__thumb {
|
||||
.gallery__item > .gallery__thumb {
|
||||
padding-top: 0px;
|
||||
margin: 6px;
|
||||
margin: 6px 6px 0 6px;
|
||||
display: block;
|
||||
}
|
||||
.archive-gallery .gallery__selector {
|
||||
|
|
|
@ -41,6 +41,13 @@ $this->headLink()->appendStylesheet($this->assetUrl('css/gallery.css', 'ImageGal
|
|||
<?php } ?>
|
||||
|
||||
</section>
|
||||
|
||||
<?php if ($title) { ?>
|
||||
<div class="item_title">
|
||||
<?= $title ?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -53,6 +60,7 @@ jQuery(document).ready(function() {
|
|||
}
|
||||
});
|
||||
$('section.gallery').css('padding-top', gallery_image_height)
|
||||
|
||||
//$(".gallery__thumb:first-of-type").css('margin-left', 0)
|
||||
//$(".gallery__thumb:last-of-type").css('margin-right', 0)
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue