Site logo

Archived topic

Positioning of individual header widgets

3 replies · Started by Elzanne Cronjé on March 21, 2020

Viewing posts 1–4 of 4

Good day,

I currently have two widgets in my header. I need the first one (at the top) to be positioned to the far right, and I need the second one to be positioned completely left directly next to the logo, as well as center in line with the logo.

I am not sure how to position these items individually.

Please assist.

Thank you. :-)

Hi there,

could i suggest you move the Widget containing the Phone / Email to the Top Bar - this will place it where you need it.

Then add this CSS to your site:

@media (min-width: 769px) {
    .inside-header {
        display: flex;
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: center;
    }
    .header-widget {
        margin-left: 2em;
    }
}

https://docs.generatepress.com/article/adding-css/

Perfect! Thank you so much David.

Glad to be of help

This archived topic is closed to new replies.