make my menu transparent

make my menu transparent

adelta
Tourist
6 0 1

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 

Replies 7 (7)

Debular
New Member
25 2 3

Sure you can do it. But with custom CSS - send link to your website and I'll check for solutions.

If My Solution Works - Donation Appreciated!
Donate here: https://www.donationalerts.com/r/debular
My Email to Hire Me: wpholdercom@gmail.com
My Youtube: Debular Websites - https://www.youtube.com/@debularwebsites
adelta
Tourist
6 0 1
adelta
Tourist
6 0 1

if possible i want to look exactly like this website https://elliotkohn.co.il/

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Debular
New Member
25 2 3

I made something similar with CSS for your theme. Please add it to your Custom CSS.

Debular_0-1725404221065.pngDebular_1-1725404227597.png

 



@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;
}
}
If My Solution Works - Donation Appreciated!
Donate here: https://www.donationalerts.com/r/debular
My Email to Hire Me: wpholdercom@gmail.com
My Youtube: Debular Websites - https://www.youtube.com/@debularwebsites
adelta
Tourist
6 0 1

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

Debular
New Member
25 2 3

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.  

If My Solution Works - Donation Appreciated!
Donate here: https://www.donationalerts.com/r/debular
My Email to Hire Me: wpholdercom@gmail.com
My Youtube: Debular Websites - https://www.youtube.com/@debularwebsites
adelta
Tourist
6 0 1

unfortunately, i cannot save it, it gives me an error "online store editor session cant be published"