A user seeks to modify shadow colors for two drawer elements in the Craft theme when viewed on mobile: the Menu drawer and the Filter & Sort drawer. The shadows currently appear red, and the goal is to change them to grey.
Solutions Provided:
One approach suggests adding custom code to the theme.liquid file, placed above the closing </body> tag.
Another solution involves editing CSS files (main.css, base.css, or theme.css) by adding specific code targeting the header icon menu with expanded aria attributes:
Both solutions were marked as helpful by the original poster. A follow-up question asks about changing the shadow color for the “filter and search” drawer on mobile as well, which remains unanswered.
Summarized with AI on November 7.
AI used: claude-sonnet-4-5-20250929.
I’m unable to find the code location for changing two drawer’s shadows. Currently when viewing on mobile, the shadow color of my Menu drawer and the Filter & Sort drawer are a red color. I would like to make them a grey color.