adds title. changes css

This commit is contained in:
buttle 2021-06-28 13:44:49 +02:00
parent 2e3a5e2f03
commit 7310d43c3c
2 changed files with 11 additions and 3 deletions

View File

@ -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 {

View File

@ -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>