Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello,
How can I extend my image banner to the top of the page (behind the menu) on all pages, not just the home page? I was able to get my homepage to do what I'm trying to do with the image banner, but can't replicate it to all pages. I’d like this effect site-wide so each image banner at the top of all pages extends to the top.
Please help! Thank you in advanced!
Solved! Go to the solution
This is an accepted solution.
Thanks, I see that you a code that is margin-top:
Replace on this code below.
.banner.banner--content-align-center {
margin-top: -200px;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi @madisonrome
Do your other pages have image banners as well? If so, please share your store URL so I can take a look. Thanks!
This is an accepted solution.
Thanks, I see that you a code that is margin-top:
Replace on this code below.
.banner.banner--content-align-center {
margin-top: -200px;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hi!
If you wouldn't mind helping again, what code can I add so that my drop down menu doesn't have any white space underneath it? Here is my link: https://madrome.co/
Thank you!!
Hello,
Im sorry, i didnt get what you mean. You have some sample pictures of the problem?
I cant see the image, do you mean this space?
from the nav.menu and the dropdown? The space is the height of the header. If you like lesser space you can add this code below.
.mega-menu[open] .mega-menu__content {
margin-top: -25px;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thank you!!! This is just what I was looking for!