How to create a frosted glass effect on Dawn 1.0 theme header?

How to create a frosted glass effect on Dawn 1.0 theme header?

JW1000
Tourist
7 0 1

Hello, I'm trying to make my header not only have its current translucent opacity, but also have it blur content behind it, similar to apple.com.

 

I've played with the base.css file ad added the below code, but it doesn't have an effect.

 

sticky-header.header-wrapper, .color-background-1.gradient.header-wrapper--border-bottom {
position: fixed !important;
top: 0px !important;
left: 0px !important;
width: 100% !important;
opacity: 0.8 !important;
backdrop-filter: blur(8px) !important;
}

 

My site is www.markpomerantz.com. Thank you!

Replies 6 (6)

KetanKumar
Shopify Partner
37094 3645 12053

@JW1000 

yes, please try this code 

https://codepen.io/ariona/pen/xxdOaM

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on [email protected] regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
JW1000
Tourist
7 0 1

Thank you. Not quite sure how/where to apply this CSS to just my Nav on my site. How would I do that?

JW1000
Tourist
7 0 1

Looking further at this code, I don't think this is the right solution for my Nav — it looks like this is importing both a normal image, as well as a blurred version of the same image, and then saying that anytime the box is over the image, to show the blurred one instead.

 

I just need the CSS that will make anything that's underneath my Nav show as blurred.

Max_MCK
Visitor
1 0 0

Hi LW1000,

i have the same issue. I have seen that you've figured it out.

Could you please help me with blurring my header?

Thanks

Ujjaval
Shopify Partner
1242 197 213

@JW1000 add below css into base.css file 

sticky-header.header-wrapper, .color-background-1.gradient.header-wrapper--border-bottom {
    backdrop-filter: blur(48px) !important;
    background-color: rgba(255, 255, 255, .15)!important;
}

Ujjaval_0-1681209575961.png

 

ebdsw
Visitor
2 0 0

any clue how we do this for a mobile menu/the drawer that opens up?