Turn Impulse header from transparent to solid white when hovering

Solved

Turn Impulse header from transparent to solid white when hovering

EmilSinding
Excursionist
19 0 2

I want the header to be white like the mega-menu below, as shown here.

Skærmbillede 2024-04-04 210906.png

 

Other than that id like to remove the soft shadow around the mega-menu dropdown as show below

Skærmbillede 2024-04-04 211445.png

Accepted Solution (1)
Hardik29418
Shopify Partner
2913 418 1083

This is an accepted solution.

Please go to
1) Online store
2) Themes -> Edit theme
3) Layout
4) theme.liquid and paste this code before </head>


 

<style>
#HeaderWrapper, #HeaderWrapper .site-nav > *, #HeaderWrapper .site-nav__icons > svg {
transition: 0.5s;
}

#HeaderWrapper:hover {
background-color: #ffffff;
}

#HeaderWrapper:hover .site-nav > *, #HeaderWrapper:hover .site-nav__icons > svg {
color: #000000;
}

.site-nav__dropdown {
box-shadow: none;
}
</style>

 

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email

View solution in original post

Replies 8 (8)

Hardik29418
Shopify Partner
2913 418 1083

@EmilSinding  Please provide website url.

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email
EmilSinding
Excursionist
19 0 2

www.adamocph.com

Password: sinding

EmilSinding
Excursionist
19 0 2

www.adamocph.com

password: sinding

EmilSinding
Excursionist
19 0 2

adamocph.com

pass: sinding

Hardik29418
Shopify Partner
2913 418 1083

This site can’t provide a secure connection

adamocph.com uses an unsupported protocol.

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email
EmilSinding
Excursionist
19 0 2
Hardik29418
Shopify Partner
2913 418 1083

This is an accepted solution.

Please go to
1) Online store
2) Themes -> Edit theme
3) Layout
4) theme.liquid and paste this code before </head>


 

<style>
#HeaderWrapper, #HeaderWrapper .site-nav > *, #HeaderWrapper .site-nav__icons > svg {
transition: 0.5s;
}

#HeaderWrapper:hover {
background-color: #ffffff;
}

#HeaderWrapper:hover .site-nav > *, #HeaderWrapper:hover .site-nav__icons > svg {
color: #000000;
}

.site-nav__dropdown {
box-shadow: none;
}
</style>

 

- Need a Shopify developer? Chat on WhatsApp or EMAIL ME!


- Your Coffee Tip would do Magic code ❤️
- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Email
EmilSinding
Excursionist
19 0 2

Thank you so much, we are getting there, but there is some kind of gradient or shadow making it look wierd. I think its the same shadow that i want removed from the megamenu.

 

Skærmbillede 2024-04-04 215224.png