Solved

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

esmoent
Excursionist
20 0 5

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
6104 1467 1808

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 4 (4)

BSSTech-Venture
Shopify Expert
495 130 152

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 or marking it as a solution.

For B2B solutions and custom pricing, check out B2B Solution & Custom Pricing |
For adding product labels/badges, visit Product Labels by BSS

BSS Commerce - Shopify Apps & Store Development Service Provider

Hire a Shopify expert | Shopify Plus Store Development

Made4uo-Ribe
Shopify Partner
6104 1467 1808

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


esmoent
Excursionist
20 0 5

Worked perfectly. Thank you. 

Made4uo-Ribe
Shopify Partner
6104 1467 1808

Welcome!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com