Archived topic
mise en page widget header
7 replies · Started by Estelle on March 21, 2022
Bonjour, j'ai la version gp premium et je voudrais mettre plusieurs widget dans l'en-tête mais ils sont les uns dessous les autres je n'arrive pas à régler la mise en page pour qu'ils soient les uns à côté des autres.
Hi there,
can you share a link to the site so i can see what you have added to the header widget ?
You can share a link to the site and any passwords in the Private Information Field.
Try adding this CSS:
.header-widget {
display: flex;
align-items: center;
justify-content: center;
}
.header-widget aside:last-of-type {
margin-left: 20px;
}
Ca fonctionne je vous remercie, mais je n'arrive pas à régler les espacements .
J'aimerais que cela fasse comme cela :
photo horaires téléphone
adresse
phrase avec lien et bouton
It may be easier to use a Block Element:
https://docs.generatepress.com/article/block-element-overview/
If you use the GenerateBlocks plugin then you can design the Grid Layout and its contents.
You can set the Block Element > Hook to: after_header to display it in the same position.
Let me know if that is an option OR i can look closer at a CSS solution
Bonjour,
je vous remercie j'ai réussi.
Bonne journée.
Glad to hear that!