A user working with the Shopify Crave theme wants to change the cart drawer overlay color from pinkish/red to 50% gray opacity, and also speed up the overlay fade-out animation when closing the cart.
Solutions Provided:
Multiple community members offered CSS-based solutions with slight variations:
Method 1: Add CSS code to theme.liquid file before the </body> tag
Method 2: Use the theme’s Custom CSS section (Theme settings > Custom CSS)
Method 3: Edit the base.css file directly
All solutions target the cart drawer overlay element using CSS selectors like cart-drawer.drawer or html .drawer, applying background or background-color properties with rgba values to achieve the desired gray opacity (typically rgba(0, 0, 0, 0.5) or rgba(0, 0, 0, 0.6)).
Resolution:
The issue was successfully resolved—the original poster confirmed one of the solutions worked perfectly. The animation speed question was not directly addressed in the responses.
Summarized with AI on November 3.
AI used: claude-sonnet-4-5-20250929.
I am using the Crave theme and I was wondering if there is a way to change the website overlay color when the cart drawer opens? I don’t want to change any of the other theme colors, just want a 50% gray opacity instead of the pinkish/red it is now.
Also, is there any way to adjust how quickly the overlay goes away when the cart is closed? Right now, it sort of lingers for a little while.