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
Mannix2y 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
ChrisBarinOP2y ago
right but what should I change though? on other pages, there's no gap
Mannix
Mannix2y ago
border
ChrisBarin
ChrisBarinOP2y 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
Mannix2y ago
oh sorry
ChrisBarin
ChrisBarinOP2y ago
not sure what's different on the homepage versus the blog for example. the gap isn't there on other pages..
Mannix
Mannix2y ago
it's this @media (max-width: 767px) .entry-content { padding: 10px; }
ChrisBarin
ChrisBarinOP2y ago
hmm lemme see... what css line please?
Mannix
Mannix2y ago
sorry i misread what the problem is 🙂 line 263 in the html file it's in <style></style> tag
ChrisBarin
ChrisBarinOP2y 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
Mannix2y ago
just add the same selector in css and change top padding
ChrisBarin
ChrisBarinOP2y ago
ah ok why is it only affecting the homepage though? why is the header fine on other pages?
ChrisBarin
ChrisBarinOP2y ago
ChrisBarin
ChrisBarinOP2y 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
Mannix2y ago
yeah you are gonna need important
ChrisBarin
ChrisBarinOP2y ago
not working
Mannix
Mannix2y ago
or use more specific selector it should be
.entry-content{padding-top: 0 !important;}
.entry-content{padding-top: 0 !important;}
ChrisBarin
ChrisBarinOP2y ago
ok, it worked on the sides 🙂 similar to margin-left/right 40 ok, now changing it to that nope
Mannix
Mannix2y ago
as to other sites that class maybe is not loaded there
ChrisBarin
ChrisBarinOP2y ago
in other pages? 😮 ok..
Mannix
Mannix2y ago
you still have it set to 40 px
ChrisBarin
ChrisBarinOP2y ago
I think the caching is an issue. lemme force it seems good!
Mannix
Mannix2y ago
now it's working
ChrisBarin
ChrisBarinOP2y ago
thank you ❤️
Mannix
Mannix2y ago
np thumbup
Want results from more Discord servers?
Add your server