home bandeau zoom css affiche qu'une image

This commit is contained in:
2023-07-12 16:03:49 +02:00
parent a1cb4f5561
commit 62f237af45
2 changed files with 11 additions and 1 deletions
+7 -1
View File
@@ -349,8 +349,14 @@
a{
color: $blue-dark;
}
.field--name-field-photo {
.field--name-field-photo {
order:1;
.field__item{
display:none;
}
.field__item:first-child{
display:block;
}
img{
width: 100%;
object-fit: cover;