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 */
}
}
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 asa solution. Thank you 
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:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
1 Like
Worked perfectly. Thank you.