How can I adjust the opacity of my website header?

Christine1065
Tourist
9 0 1

Hello! I wanted to see if I could make my header the same opacity as it is when hovering. I would also like to make the color of the background of menu items transparent when hovering.

 

https://portrait-coffee.myshopify.com/

Replies 5 (5)

BriskDevelopers
Shopify Expert
120 11 21

You just need to add below code in your assets/theme.min.css file,

 

.template-index .header-section:not(.sticky-header) .overlay-header:hover{
background-color: rgba(185, 98, 40, 0.5) !important; 
}

 

 

Regards,
Jay Gandhi

If helpful then please Like and Accept Solution. Want to modify or custom changes on store Hire me. Feel free to contact us regarding any help, below our contact listed:
Shopify Expert Page: https://experts.shopify.com/brisk-developers
Email: support@briskdevelopers.com
Contact us: https://www.briskdevelopers.com/contact-us
Skype: briskdevelopers
Christine1065
Tourist
9 0 1

Thank you so much! How can I make the menu items transparent when I hover over them as well? The opacity didn't apply to them!

I also wanted to see if I can make the caption for the photo right below the header have 50% opacity as well.

BriskDevelopers
Shopify Expert
120 11 21

Add this code for menu,

.site-nav__dropdown.standard-dropdown li:hover,.site-nav__dropdown.standard-dropdown li:hover>.site-nav__link,.site-nav__dropdown .site-nav__link {
background-color: rgba(185, 98, 40, 0.5) !important; 
}
If helpful then please Like and Accept Solution. Want to modify or custom changes on store Hire me. Feel free to contact us regarding any help, below our contact listed:
Shopify Expert Page: https://experts.shopify.com/brisk-developers
Email: support@briskdevelopers.com
Contact us: https://www.briskdevelopers.com/contact-us
Skype: briskdevelopers
Christine1065
Tourist
9 0 1

last one! How do i change the opacity for the caption on the photo below the header?

PageFly-Richard
Shopify Partner
4206 951 1599

Hi @Christine1065 

This is Richard from PageFly - Shopify Page Builder App, I’d like to suggest this idea:
Online Store ->Theme ->Edit code
Assets ->Theme.min.css

 

.template-index .header-section:not(.sticky-header).overlay-header:hover{
   background-color: rgba(185, 98, 40, 0.5) !important; 
}

 

Hope you find my answer helpful!
Best regards,
Richard | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.