how to change colour of mobile drop down menu ? my website is www.rebeccavansonart.com
It is the right colour on the desktop view, but there is no background colour for the drop down menu on my mobile view.
is there a code for this and where do I place the code?
1 Like
Hi @RebeccaVanson
Try 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:
- And Save.
@media only screen and (max-width: 989px) {
div#menu-drawer {
background: darksalmon;
}
}
Result:
I hope it help.
"
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
"
Hi @RebeccaVanson
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file → Save
@media (max-width: 767px){
.menu-drawer.motion-reduce {
background: white !important;
}
}
Hope that my solution works for you.
Best regards,
Henry | PageFly