[Resolved] mise en page widget header

Home Forums Support [Resolved] mise en page widget header

Home Forums Support mise en page widget header

  • This topic has 7 replies, 2 voices, and was last updated 2 years ago by David.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2161885
    Estelle

    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.

    #2161888
    David
    Staff
    Customer Support

    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.

    #2162020
    Estelle
    #2162027
    David
    Staff
    Customer Support

    Try adding this CSS:

    .header-widget {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .header-widget aside:last-of-type {
        margin-left: 20px;
    }
    #2162068
    Estelle

    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

    #2162083
    David
    Staff
    Customer Support

    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

    #2164363
    Estelle

    Bonjour,
    je vous remercie j’ai réussi.
    Bonne journée.

    #2164548
    David
    Staff
    Customer Support

    Glad to hear that!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.