How to make header and dropdown transparent (Stiletto theme)

Solved

How to make header and dropdown transparent (Stiletto theme)

adimenon
Tourist
7 0 2

I have a header with a dropdown menu, and I'm trying to make the dropdown menu transparent to match the header's appearance seamlessly.

 

Here's a brief description of what I'm aiming for:

  • I want the dropdown menu background to be completely transparent.
  • The text within the dropdown menu should remain visible and styled appropriately, preferably in hex EDE6D6

www.okhli.com.au

Accepted Solutions (2)
BSSCommerce-HDL
Shopify Partner
1886 654 784

This is an accepted solution.

Use this if you want to change border of sub menu too

 

<style>
        .navigation__submenu-list {
            background: transparent!important;
            color: #EDE6D6!important;
            border: solid #EDE6D6 1px!important
        }
</style>

 

 

Or remove border:

<style>
        .navigation__submenu-list {
            background: transparent!important;
            color: #EDE6D6!important;
            border: 0!important
        }
</style>

 

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

View solution in original post

BSSCommerce-HDL
Shopify Partner
1886 654 784

This is an accepted solution.

Are you meaning all of header is transparent only when hover?
If true, you can try this:

 

<style>
        .navigation__submenu-list {
            background: transparent!important;
            color: #EDE6D6!important;
            border: 0!important
        }

.header.header--layout-logo-center-nav-below.header--has-logo.header--transparent.header--has-transparent-logo.header--navigation-is-all-caps:hover {
background: transparent!important;
} 
</style>

 

Here is result:

BSSCommerceHDL_0-1723879150921.png

 

 

 

 

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

View solution in original post

Replies 12 (12)

BSSCommerce-HDL
Shopify Partner
1886 654 784

Can you share password to enter your store? So we can firgure out problems

 

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
adimenon
Tourist
7 0 2

whoops! sorry.. my bad!

 

it's Narre_3805

BSSCommerce-HDL
Shopify Partner
1886 654 784

Got it. You can try this way:

Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code

Step 2: Search file theme.liquid

Step 3: Insert this code above </head> tag:

<style>
        .navigation__submenu-list {
            background: transparent!important;
            color: #EDE6D6!important;
        }
</style>

 

Here is result:

BSSCommerceHDL_2-1723878305284.png

 

 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
BSSCommerce-HDL
Shopify Partner
1886 654 784

This is an accepted solution.

Use this if you want to change border of sub menu too

 

<style>
        .navigation__submenu-list {
            background: transparent!important;
            color: #EDE6D6!important;
            border: solid #EDE6D6 1px!important
        }
</style>

 

 

Or remove border:

<style>
        .navigation__submenu-list {
            background: transparent!important;
            color: #EDE6D6!important;
            border: 0!important
        }
</style>

 

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
adimenon
Tourist
7 0 2

Thanks for that! Is it possible to incorporate the transparency even when you hover? Also the dropdown has a border.. how can I remove the (green) border. Make the Header and dropdown transparent but keeping the font and font colours the same.

 

Thanks so much!

BSSCommerce-HDL
Shopify Partner
1886 654 784

This is an accepted solution.

Are you meaning all of header is transparent only when hover?
If true, you can try this:

 

<style>
        .navigation__submenu-list {
            background: transparent!important;
            color: #EDE6D6!important;
            border: 0!important
        }

.header.header--layout-logo-center-nav-below.header--has-logo.header--transparent.header--has-transparent-logo.header--navigation-is-all-caps:hover {
background: transparent!important;
} 
</style>

 

Here is result:

BSSCommerceHDL_0-1723879150921.png

 

 

 

 

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
adimenon
Tourist
7 0 2

That worked beautifully!! Thank you sooo much!

adimenon
Tourist
7 0 2

I'm so sorry to ask you... but is it possible to do the same for mobile viewing as well?

GTLOfficial
Shopify Partner
435 86 87

are you looking for something like this in mobile.
5.png

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh
BSSCommerce-HDL
Shopify Partner
1886 654 784

Youre welcome. Have a good day!

 

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

GTLOfficial
Shopify Partner
435 86 87

Hello @adimenon 

Go to online store ---------> themes --------------> actions ------> edit code------->theme.css
add this code at the end of the file.

.navigation__submenu-list {
background: transparent !important;
color: beige !important;
border: 2px solid beige;
}

result
4.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh
adimenon
Tourist
7 0 2

Thanks for that! Is it possible to incorporate the transparency even when you hover? Also the dropdown has a border.. how can I remove the (green) border. Make the Header and dropdown transparent but keeping the font and font colours the same.

 

Thanks again!