Shopify themes, liquid, logos, and UX
Hi
How can i make my menu transparent with font in white and when you scroll down becomes white menu with black font?
my website is made with Dawn theme
Sure you can do it. But with custom CSS - send link to your website and I'll check for solutions.
I made something similar with CSS for your theme. Please add it to your Custom CSS.
Hi!
unfortunately, i cannot save it, it gives me an error "online store editor session cant be published"
Also before trying to saving it, when the menu is transparent, the logo is in Black (not in white) and the drop down menu titles disappeared, only when you scroll down you can see again the drop down menu.
in mobile is not working the same way and the drop down menu disappeared as well
there was mistake in my code. Sorry.
@media only screen and (min-width:992px){
.shopify-section-header-sticky{
position: fixed;
width: 100%;
top: 40px;
transition.0.32s
}
.shopify-section-header-sticky sticky-header{
background:transparent;
}
.scrolled-past-header{
background:#fff;
top:0;
transition:0.32s
}
.shopify-section-header-sticky:not(.scrolled-past-header) .header__heading-logo{
filter:brightness(0) invert(1);
}
.shopify-section-header-sticky:not(.scrolled-past-header) *{
color:#fff;
}
}
Below is updated version.
This code is for desktop only.
unfortunately, i cannot save it, it gives me an error "online store editor session cant be published"
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks 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, 2024