Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
hi
i m using dawn theme and i would like to have:
1/ header transparent with image banner as background
2/this image banner size would adapt to any size screen you open the website with
3/when i scroll down, header becomes white background again
similare to this website: https://anauparis.com/
can anyone help me please? 🙂
@mathieulenoir Yes, it is possible but here I can't explain you because it is a practical task. Please share your site url.
Thanks @mathieulenoir You can do this by going to your Online Store > Live Theme > Customization > Header setting and check for background-color and all you will get the pre-define settings in dawn theme. Please let me know if you need any help!
oh yes i need help! 🙂
is there any code to modify/add to do all this:
1/ header transparent with image banner as background
2/this image banner size would adapt to any size screen you open the website with
3/when i scroll down, header becomes white background again
@mathieulenoir If we write the code for the header, you have to upload white logo of the store and change the navigation menu color after this it will look like this-
looks good, i can do that
but will you share the code?
@mathieulenoir Please use below code in your css file-
.header-wrapper {
position: absolute;
top: 0;
left: 0;
right: 0;
width: 100%;
background-color: transparent;
}
header-menu span {
color: #fff;
}
details-modal span svg {
color: #fff;
}
.header__icons a {
color: #fff;
}
thanks that works
but how to make the header with white background again when i scroll down?
and will that image be autosized depending on which screen i open the website from?
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024