Text scroll past header

Solved

Text scroll past header

nothingchanges
Explorer
58 0 13

Hi Guys! I have an issue with my web,when I scroll the text moves until header. How do I fix this issue? 

 

Screenshot 2024-12-24 at 5.05.55 PM.png

Accepted Solution (1)

Moeed
Shopify Partner
7544 2035 2501

This is an accepted solution.

Hey @nothingchanges 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
#MainContent .collection-hero__inner {
    z-index: 1 !important;
}
</style>

RESULT:

Moeed_0-1735296786891.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 6 (6)

Moeed
Shopify Partner
7544 2035 2501

This is an accepted solution.

Hey @nothingchanges 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
#MainContent .collection-hero__inner {
    z-index: 1 !important;
}
</style>

RESULT:

Moeed_0-1735296786891.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


nothingchanges
Explorer
58 0 13

Thank you so much! It worked like a charm!

Moeed
Shopify Partner
7544 2035 2501

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


DitalTek
Shopify Partner
891 103 122

Hi,

The issue happen because z-index attribute of menu lesser than main banner, 

You need go to code and increase that attribute to large the best way should you can set z-index: 99

 

- You can please Like and Accepted Solution if my suggestion helpful.
- And you want to hire developer Theme or App Shopify => Feel free to send me a DM or contact to us via Email | WhatsApp
- Website: ditaltek.com

Rahul_dhiman
Shopify Partner
832 157 175

Hello @nothingchanges 
Go to online store ----> themes ----> actions ----> edit code ----> assets ---->component-collection-hero.css
add this code at the end of the file and save.

#MainContent .collection-hero--with-image .collection-hero__text-wrapper {
z-index: 1 !important;
}

 Result
94.png

Thanks

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages

nothingchanges
Explorer
58 0 13

Thank you Rahul for the reply! The issue has been solved just recently. I really appreciate the fast reply!