Solved

How can I make Ella theme header navigation transparent with a black color scheme for desktop?

esmoent
Excursionist
22 0 7

I tailored this code specifically for the mobile display of the website, and it's operating as expected. Nevertheless, I'm encountering difficulty in extending the same functionality to the desktop and tablet variants. Could you provide guidance on how to address this?

Here's the CSS code snippet for your review:

 

CSS: 

 

@media only screen and (max-width: 767px) {
.header-mobile {
background-color: rgba(0, 0, 0, 0.8); /* 50% black with transparency */
}
}

Nav bar 2.JPG

Header Transparent.JPG

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
6458 1548 1919

This is an accepted solution.

Hi @esmoent 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.header-navigation.header-nav-plain.header-plain--transparent {
    background-color: #333333;
    opacity: .8; 
}

 

And save. 

Result:

Made4uoRibe_0-1715793731280.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.

View solution in original post

Replies 4 (4)

BSSCommerce-HDL
Shopify Expert
733 244 255

Hi @esmoent, Pls insert this code to your file css

 

.section-header-navigation:not(.scrolled-past-header) .header-plain--transparent {
    background-color: #333333 !important;
}

 

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

Made4uo-Ribe
Shopify Partner
6458 1548 1919

This is an accepted solution.

Hi @esmoent 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes".

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.header-navigation.header-nav-plain.header-plain--transparent {
    background-color: #333333;
    opacity: .8; 
}

 

And save. 

Result:

Made4uoRibe_0-1715793731280.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
esmoent
Excursionist
22 0 7

Worked perfectly. Thank you. 

Made4uo-Ribe
Shopify Partner
6458 1548 1919

Welcome!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.