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!
1 Like
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!
Yes! Thank you so much. My site is: https://madrome.co/
You’ll see on the Contact, About, FAQ, etc. each has an image banner at the
top.
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!
1 Like
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?
Yes of course! You see the drop down menu falls far below the menu itself?
There is a gap in the white space.
[image: Screenshot 2025-02-27 at 11.21.07 AM.png]
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.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.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!
1 Like
Thank you!!! This is just what I was looking for!
1 Like
Hi, I am trying to do this just for my homepage Dawn Theme but I haven’t been able to do it at all and some of the instructions are really confusing me. Can anybody please help. I want the image banner to sit behind my Menu.
Hey @UserAD1610,
You are right. This is happen because of the new version of the Dawn theme.
By any chance can you please share your store url and collab code so that I can implement the same feature in your Dawn theme.
Waiting to hear back from you.
Thanks
Hi I am having the same problem, i have it on the homepage, but it says I have too many CSS, to put it on all pages. Also There is extra space at the bottom of my image banner on the homepage that is making a huge gap between my sections. Can anybody help please. This is my store url https://adawellness.ie and collabaroation code is 8289
Hi, just wondering how on Dawn theme you can get the image to apply on all pages behind the menu. Currently only have it on the homepage and need it on all pages. There’s also extra space that is appearing at the bottom of the one on the homepage which is making extra space between the sections.Any tips?
This is the store url https://adawellness.ie