How to change the background color of sub menu on mobile device - Dawn theme

Solved

How to change the background color of sub menu on mobile device - Dawn theme

RainbowSweets
Tourist
16 0 2

Hello,

 

I was able to change the background of the dropdown menu from transparent and select a solid color, but now I'm having issues changing the background of the nested menu. The "About" category is displaying the same background as the website is using, and I want it to be #f1d6e8.

 

Any suggestions would be helpful. 

 

Screenshot 2024-08-21 141919.pngScreenshot 2024-08-21 141920.png

Accepted Solution (1)
Made4uo-Ribe
Shopify Partner
7683 1850 2266

This is an accepted solution.

Thanks for the info, do you mean like this? 

 

Made4uoRibe_1-1724323179887.png

If it is check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.menu-drawer__inner-submenu {
    background: #f1d6e8;
}

 

And Save. 

 

 

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 5 (5)

Made4uo-Ribe
Shopify Partner
7683 1850 2266

Hi @RainbowSweets 

WOuld you mind to share your store URL? Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
RainbowSweets
Tourist
16 0 2

Sure, it's https://d913ed-2.myshopify.com/ and the password is tewldo.

Made4uo-Ribe
Shopify Partner
7683 1850 2266

This is an accepted solution.

Thanks for the info, do you mean like this? 

 

Made4uoRibe_1-1724323179887.png

If it is check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.menu-drawer__inner-submenu {
    background: #f1d6e8;
}

 

And Save. 

 

 

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 is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

Vinsinfo
Shopify Partner
396 138 133

@RainbowSweets Please follow the below steps to change the background color of sub menu on mobile device.

 
1. From admin, Go to "Online Store" -> "Themes".
2. Click "Customize" button in the current theme.
3. Click "Header" as shown in below screenshot.
Vinsinfo_0-1724305674004.png
4. Locate Custom CSS field and paste the below code as shown in below screenshot and save the changes.

 

.menu-drawer__inner-submenu {
    background: #f1d6e8;
}

 

Vinsinfo_1-1724305684863.png

 

 

Result will be like,
Vinsinfo_2-1724305692518.png

 

Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support

EFOLI-Syn
Shopify Partner
72 1 0

Hello @RainbowSweets,

You can add this code into your base.css file. 

@media(max-width:768px){
#Details-menu-drawer-menu-item-2{background-color: #f1d6e8 !important;}
}
Syn | eFoli
-Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- Checkout our apps:Inkybay || MultiVariants