Bonjour, je cherche a ajouter le texte “Panier” sous l’icone panier, “Recherche” sous l’icone recherche…
J’ai essayé avec ce code dans base.css pour les icones panier et compte :
.header__icon span {
overflow: visible;
width: auto;
clip: unset;
top: 30px;
text-transform: uppercase;
font-weight: bold;
font-size: 12px;
}
Mais le texte n’est pas aligné.
Pour la recherche, j’ai rajouté dans header.liquid
Recherche
et dans base.css
span.text-at-searchbar {
color: grey;
font-size: 1.2rem;
}
/* Align search icon and new text to the center */
.header__search {
display: inline-flex;
line-height: 0;
align-items: center !important;
}
merci pour votre aide, excellente journée à tous.
