How can I extend my image banner to the top of the page (behind the menu) on all pages?

Solved

How can I extend my image banner to the top of the page (behind the menu) on all pages?

madisonrome
Tourist
5 0 2

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! 

 

 

 

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
10211 2427 3081

This is an accepted solution.

Thanks, I see that you a code that is margin-top:

Made4uoRibe_0-1739997108062.png

Replace on this code below. 

 

.banner.banner--content-align-center {
    margin-top: -200px;
}

 

 And Save. 

Result:

Made4uoRibe_1-1739997155237.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 8 (8)

Made4uo-Ribe
Shopify Partner
10211 2427 3081

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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
madisonrome
Tourist
5 0 2
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.
Made4uo-Ribe
Shopify Partner
10211 2427 3081

This is an accepted solution.

Thanks, I see that you a code that is margin-top:

Made4uoRibe_0-1739997108062.png

Replace on this code below. 

 

.banner.banner--content-align-center {
    margin-top: -200px;
}

 

 And Save. 

Result:

Made4uoRibe_1-1739997155237.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
madisonrome
Tourist
5 0 2

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!! 

Made4uo-Ribe
Shopify Partner
10211 2427 3081

Hello,

Im sorry, i didnt get what you mean. You have some sample pictures of the problem? 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
madisonrome
Tourist
5 0 2
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]
Made4uo-Ribe
Shopify Partner
10211 2427 3081

I cant see the image, do you mean this space?

Made4uoRibe_0-1740673641062.png

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. 

  1. From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  2. Find the theme that you want to edit and click on "Actions" and then "Edit code".
  3. 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;
}

 

  • And Save.
  • Result:
  • Made4uoRibe_1-1740673862204.png

     

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
madisonrome
Tourist
5 0 2

Thank you!!! This is just what I was looking for!