Shopify themes, liquid, logos, and UX
Hi,
möchte gerne in meinem Shopify DAWN Theme 15.0.0. die Höhe des Hero Banners ändern, sodass er hinter der Menüleiste auch zu sehen ist. Weiters würde ich ihn auch gern noch mehr nach unten ziehen, sodass nichts weißes mehr im 1. Fold zu sehen ist, wenn man auf die Homepage kommt. Siehe Foto:
Kann mir jemand sagen wie ich das ändern kann?
Danke!
Florence
Solved! Go to the solution
This is an accepted solution.
Hi @Florence
Do you mea like this?
If it is check this one.
{% if template == 'index' %}
<style>
div#Banner-template--22788933517635__image_banner {
margin-top: -13vh;
height: 100vh;
}
sticky-header.header-wrapper {
background: transparent;
}
header.header.header--middle-left * {
color: white;
}
</style>
{% endif %}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hey @Florence
Share your Store URL and Password if enabled.
Best Regards,
Moeed
Hey @Florence
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>
.header {
background: transparent !important;
max-width: 100% !important;
position: absolute !important;
width: 100% !important;
}
</style>
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @Moeed
thanks that worked, however the banner does not go to the end of the screen now, there is still something white:
How can I make it go to the end of the first fold?
thanks for help!
Florence
Hey @Florence
Remove the previous code and this updated code.
<style>
.header {
background: transparent !important;
max-width: 100% !important;
position: absolute !important;
width: 100% !important;
}
div#Banner-template--22788933517635__image_banner {
height: 100vh;
}
</style>
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
thanks that worked!
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.
unfortunately there is now an issue with the menu when scrolling, it does not stick anymore, even thought I did not change the settings and it was sticky before adding your code.
Thanks
Florence
also the breadcrumbs are in a different position now.
Hello @Florence
Go to online store ---------> themes --------------> actions ------> edit code------->base.css
and add this code at the end of the file.
media screen and (min-width: 990px) {
.header {
background-color: transparent !important;
position: absolute !important;
width: 100% !important;
}
}
and the result will be
If this was helpful, hit the like button and mark the job as completed.
Thanks
This is an accepted solution.
Hi @Florence
Do you mea like this?
If it is check this one.
{% if template == 'index' %}
<style>
div#Banner-template--22788933517635__image_banner {
margin-top: -13vh;
height: 100vh;
}
sticky-header.header-wrapper {
background: transparent;
}
header.header.header--middle-left * {
color: white;
}
</style>
{% endif %}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
thanks this one helped better than the other solutions. One thing that still does not work: the Menu is not readable on the entry page when scrolling (on the other pages it works) see photo - here it does not work, when I scroll down:
here it works and you can still read the menu when scrolling:
on the entry page it overlaps with the content on the website. How can I make it readable? Is it even possible? Thanks!
Florence
I am already expecting on the problem, that needs a another javascript what it will change the background color when it scrolled(you will need a developer for this. Or you need to set your header not to scroll.
ok thanks
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025