Empty space on mobile

Hello, I have this ugly empty space at the top and I can't seem to find how to fix it. The site is expertphotoshop.ro. I tried inspecting it, but I have limited knowledge so I'd appreciate some help with it. Thank you!
25 Replies
Mannix
Mannix14mo ago
@media (max-width: 767px)
body.home #masthead, body #masthead {
height: 70px;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 767px)
body.home #masthead, body #masthead {
height: 70px;
border-bottom: 1px solid rgba(255,255,255,0.1);
}
ChrisBarin
ChrisBarin14mo ago
right but what should I change though? on other pages, there's no gap
Mannix
Mannix14mo ago
border
ChrisBarin
ChrisBarin14mo ago
so I'm quite worried about changing the height isn't the border the divider? the white gap at the top seems something else
Mannix
Mannix14mo ago
oh sorry
ChrisBarin
ChrisBarin14mo ago
not sure what's different on the homepage versus the blog for example. the gap isn't there on other pages..
Mannix
Mannix14mo ago
it's this @media (max-width: 767px) .entry-content { padding: 10px; }
ChrisBarin
ChrisBarin14mo ago
hmm lemme see... what css line please?
Mannix
Mannix14mo ago
sorry i misread what the problem is 🙂 line 263 in the html file it's in <style></style> tag
ChrisBarin
ChrisBarin14mo ago
ouch it's in line? damn I have no idea how to fix that, but I'll do my best to find out why is it there though??
Mannix
Mannix14mo ago
just add the same selector in css and change top padding
ChrisBarin
ChrisBarin14mo ago
ah ok why is it only affecting the homepage though? why is the header fine on other pages?
ChrisBarin
ChrisBarin14mo ago
ChrisBarin
ChrisBarin14mo ago
I made it 40 just so I could see the change. no change though add !important? still nothing isn't it actually body.home .content-pusher { padding-top: 0 !important; ? line 2018?
Mannix
Mannix14mo ago
yeah you are gonna need important
ChrisBarin
ChrisBarin14mo ago
not working
Mannix
Mannix14mo ago
or use more specific selector it should be
.entry-content{padding-top: 0 !important;}
.entry-content{padding-top: 0 !important;}
ChrisBarin
ChrisBarin14mo ago
ok, it worked on the sides 🙂 similar to margin-left/right 40 ok, now changing it to that nope
Mannix
Mannix14mo ago
as to other sites that class maybe is not loaded there
ChrisBarin
ChrisBarin14mo ago
in other pages? 😮 ok..
Mannix
Mannix14mo ago
you still have it set to 40 px
ChrisBarin
ChrisBarin14mo ago
I think the caching is an issue. lemme force it seems good!
Mannix
Mannix14mo ago
now it's working
ChrisBarin
ChrisBarin14mo ago
thank you ❤️
Mannix
Mannix14mo ago
np thumbup