Archived topic
Header Widget to Right of Logo
5 replies · Started by Maziar on November 8, 2015
Hi,
Are there any (css-based) ways of positioning header widget to the right of the logo? the header-widget div is by default floated to the right, and floating it to the left does not achieve what I need since it places it to the left of the logo.
I am using a search widget in the header widget and would like to have it sit on the right of the logo (the menu is floating to the right).
Any help is appreciated
Hi there,
So are you wanting your header widget to show up right next to your logo instead of all the way on the right?
Try this CSS:
.header-widget {
float: none;
display: inline-block;
}
.site-logo,
.site-branding {
float: left;
}
Adding CSS: https://generatepress.com/knowledgebase/adding-css/
Works perfect.
Thank you for writing up the code to do the trick.
You're welcome :)