Shopify themes, liquid, logos, and UX
Hi Guys! I have an issue with my web,when I scroll the text moves until header. How do I fix this issue?
Solved! Go to the solution
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:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
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:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thank you so much! It worked like a charm!
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.
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
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
Thanks
Thank you Rahul for the reply! The issue has been solved just recently. I really appreciate the fast reply!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025