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

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
10038 2387 3014

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 4 (4)

BSSCommerce-HDL
Shopify Partner
2305 835 908

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 😍

Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Made4uo-Ribe
Shopify Partner
10038 2387 3014

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
esmoent
Excursionist
22 0 7

Worked perfectly. Thank you. 

Made4uo-Ribe
Shopify Partner
10038 2387 3014

Welcome!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.