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;
|
||||
}
|
||||
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 {
|
||||
|
|
Loading…
Reference in New Issue