Archived topic
header widgets
7 replies · Started by Joel on January 14, 2016
Hi,
I am trying to make the header widgets move to the left more, closer to the logo. I was able to align them vertically but would like to reduce the space between the logo and the widgets.
I am using the following css to align them:
.header-widget .widget {
display: inline-block;
vertical-align: top;
padding: 10px;
}
Any suggestions?
Hi there,
First, you’ll want to add this function: https://gist.github.com/generatepress/eca14d26e64d77d07384
Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/
Then this CSS:
.site-logo,
.header-widget {
float: none;
display: inline-block;
}
Adding CSS: https://generatepress.com/knowledgebase/adding-css/
Let me know :)
That worked, thanks again.
Is there anyway to control where the space between the logo and widgets if I want to increase it a little bit?
For sure:
.header-widget {
margin-left: 20px;
}
Thanks that did it, but now it has pushed the logo down and the widgets are not aligned anymore.
Any chance I can see the site?
I am doing this local, here are a couple screenshots if that helps:
before
after
second one is good, but would like the logo back up to align with the widgets.
Thanks again!
Hmm, very hard for me to tell what's going on without being able to inspect the code.
Maybe when you put it on a live server you can post back and I can take a quick look? Should be something simple, it's just impossible to know by the screenshots.
