feat: add more customizations
This commit is contained in:
@@ -1,11 +1,20 @@
|
||||
/* css/style.css */
|
||||
.elementor-category-grid .category-card {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
/* pseudo-élément overlay */
|
||||
.elementor-category-grid .category-card::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0; right: 0; bottom: 0; left: 0;
|
||||
background-color: transparent;
|
||||
transition: opacity .3s ease;
|
||||
pointer-events: none; /* laisse passer le clic */
|
||||
}
|
||||
|
||||
/* 1) Mise en place de la grille */
|
||||
/* .elementor-category-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
||||
gap: 1rem;
|
||||
} */
|
||||
.elementor-category-grid {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
@@ -25,7 +34,7 @@
|
||||
overflow: hidden;
|
||||
height: 0;
|
||||
padding-bottom: 40%; /* ratio 5:2 – ajustez selon vos images */
|
||||
border-radius: 8px;
|
||||
/* border-radius: 8px; */
|
||||
}
|
||||
|
||||
/* 3) Image pleine carte */
|
||||
|
||||
Reference in New Issue
Block a user