Site logo

Archived topic

Move top-bar inside site-header

5 replies · Started by Bas on March 28, 2019

Viewing posts 1–6 of 6

Hi,

Is it possible to move the content of the top-bar (as seen on my website) to the top right of the site-header?
This will save me another 30 pixels of valuable space.

Thanks in advance :)

Hi there,

I believe using header widget area might be the easier route.

Can you try that first and let me have a look?

Thanks!

I moved the navigation menu to the header widget area as you told.
Now the items are spaced vertically.

How can I make them space horizontally?

Hi there,

this CSS:

.header-widget {
    max-width: 80% !important;
}
#menu-header-menu {
    display: flex;
    margin-top: 1em;
}
#menu-header-menu > li {
    margin-left: 2em;
}

Or alternatively you could use the Secondary Navigation and set it to float right. It will generate a separate mobile menu though.

Hi David,

Works like a charm.
Thanks for the fast reply.

Have a nice day!

You're welcome

This archived topic is closed to new replies.