What white space are you referring to exactly…between the menu and the main content?
I don’t see a way to attach so here’s a screenshot:
http://toothperfection.com/SS1.png
Ah, the screenshot helped. You need some custom CSS to change that in both areas, so in your customizer’s Additional CSS tab, paste this:
For the header and branding area:
@media screen and (min-width: 30em) {
.site-branding {
padding: 1em 0;
}
}
You can adjust the padding to your preference. The theme’s padding is 3em, but I did it as 1em.
For the content area, this might be a bit trickier, but the theme scripts adds a dynamic top margin to it, so we have to force a new margin with:
.site-content .wrap {
margin-top: 40px!important;
}
I did 40px, but you can do whatever you prefer.
Thank you for your reply.
I put that in and the front page changed a little bit, but the other pages did not change.
There’s still a huge gap between the site title and the menu on the front page.
For the branding, make sure you have the exact code as I have below pasted into the Additional CSS tab of the customizer:
@media screen and (min-width: 30em) {
.site-branding {
padding: 1em 0;
}
}
For the other part, I forgot about the “padding”, so also add this:
@media screen and (min-width: 48em) {
.site-content {
padding: 5.5em 0 0;
}
}
.site-content {
padding: 2.5em 0 0;
}
The padding values you see as 5.5em and also 2.5em should be changed to your preference. So try changing 5.5em to something like 2em and change the 2.5em one to like 1em
Thanks again. That helped and things looks pretty nice, but there is still a big white space just above the menu. I’m not sure which thing is causing it as firebug isn’t compatible with firefox now…
Hmm, it seems we have a
<div class="custom-header" style="margin-bottom: 72px;">
for whatever reason…
So, I put this in my styles
.custom-header {
margin-bottom: -52px !important;
padding-bottom: 0px;
}
and that worked. I tried 72 and it was too much. ok then strange to find this div but whatever. Thanks for your replies and have a great weekend!
~K
——————————–
UPDATE: this only works on the home page – on the other pages, the logo, title and tagline are missing as the menu goes up too much.
-
This reply was modified 8 years, 8 months ago by
starlight_design. Reason: not resolved
ok this seems to work
.home .custom-header {
margin-bottom: 22px !important;
padding-bottom: 0px;
}
.home div.site-branding {
margin-bottom: 72px !important;
}
div.site-branding {
margin-bottom: 48px !important;
padding-bottom: 0px; !important;
}