hide all but first item in gallery preview

This commit is contained in:
jorge-vitrubio 2022-10-21 16:40:24 +02:00
parent f391e86701
commit 98ae0d606d
1 changed files with 4 additions and 6 deletions

View File

@ -54,6 +54,7 @@ img {
position: relative;
}
img:before {
/* credits to https://bitsofco.de/styling-broken-images/ */
content:"no image:" attr(alt);
display: block;
position: absolute;
@ -1158,13 +1159,10 @@ form#commentform p.form-submit input#submit {
max-width: 33%;
overflow: hidden;
}
.gallery .gallery-item:not(:first-of-type) {
display: none;
}
.gallery img {
/* background-image: url('https://grafica.hangar.org/assets/img/hangar-logo-favico.png');
background-size: auto;
background-repeat: no-repeat;
background-position: center;
background-blend-mode: darken;
background-color: #fafafa;*/
border: none !important;
}
.gallery .gallery-caption {