hide all but first item in gallery preview
This commit is contained in:
parent
f391e86701
commit
98ae0d606d
10
style.css
10
style.css
|
@ -54,6 +54,7 @@ img {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
img:before {
|
img:before {
|
||||||
|
/* credits to https://bitsofco.de/styling-broken-images/ */
|
||||||
content:"no image:" attr(alt);
|
content:"no image:" attr(alt);
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
@ -1158,13 +1159,10 @@ form#commentform p.form-submit input#submit {
|
||||||
max-width: 33%;
|
max-width: 33%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
.gallery .gallery-item:not(:first-of-type) {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
.gallery img {
|
.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;
|
border: none !important;
|
||||||
}
|
}
|
||||||
.gallery .gallery-caption {
|
.gallery .gallery-caption {
|
||||||
|
|
Loading…
Reference in New Issue