Hello! I am working on a site, and there is a good bit of white space between the mobile hero image and the menu+header. I was able to correct this on desktop, but I have been unable to target it on mobile.
I did a lot of customization for the menu, so I’m wondering if some of my custom CSS is causing an issue.
Could you have a look and see if there is a way to reduce this white space?
Site linked in private content.
Thanks so much!
Hey bewelltended,
Please try the following in Quick CSS under Enfold->General Styling:
@media only screen and (max-width: 767px) {
#top.page-id-2794 #main>div.container_wrap:nth-child(1) .content {
margin-top: 0 !important;
}
}
Best regards,
Rikard
Hi Rikard! Thanks so much for your reply.
I’m not seeing any change with that CSS. Any other ideas?
Thanks so much!
Nikole
Hi,
Did you add the code to the very top of quick css so it runs first? Also, clear the cache a few times over.
Best regards,
Jordan Shannon
Hi Jordan and Rikard –
Placing Rikard’s CSS at the top and clearing the cache did in fact do the trick.
THANK YOU so much for your assistance!
You can close this thread now.
Cheers,
Nikole
Hi Nikole,
We’re glad to hear that :)
Thanks for using Enfold and have a great day!
Best regards,
Nikko