How can I change the dropdown menu background color on MOBILE view

Solved

How can I change the dropdown menu background color on MOBILE view

DitYDesigns
Visitor
2 0 0

I have this fixed when you view my website on a computer but in mobile view it's still translucent and it needs to have a white background to be able to see what the options are since they drop over images.

 

I have the Dawn theme and my website is www.ditydesigns.com

 

Thank you!

Accepted Solutions (2)

BSSCommerce-B2B
Shopify Partner
1764 541 599

This is an accepted solution.

@DitYDesigns ,

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

Step 2: Search for the file theme.liquid

Step 3: Add this code before </body> tag

<style>
header-drawer summary:before {
  background: white!important;
}
</style>

Result:

BSSCommerceB2B_0-1727749181216.png

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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

View solution in original post

Tech_Coding
Shopify Partner
333 91 81

This is an accepted solution.

Hello @DitYDesigns 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (max-width: 767px){
   .menu-drawer {
       background: #fff !important;
   }
}
</style>

Tech_Coding_0-1727750050943.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

View solution in original post

Replies 2 (2)

BSSCommerce-B2B
Shopify Partner
1764 541 599

This is an accepted solution.

@DitYDesigns ,

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

Step 2: Search for the file theme.liquid

Step 3: Add this code before </body> tag

<style>
header-drawer summary:before {
  background: white!important;
}
</style>

Result:

BSSCommerceB2B_0-1727749181216.png

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


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

Tech_Coding
Shopify Partner
333 91 81

This is an accepted solution.

Hello @DitYDesigns 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
@media screen and (max-width: 767px){
   .menu-drawer {
       background: #fff !important;
   }
}
</style>

Tech_Coding_0-1727750050943.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.