The third level submenu in Dawn’s mobile navigation is still a `mobile-facets__submenu` element, but it’s nested deeper within the DOM. Your current selector `.mobile-facets__submenu` is applying to both the second and third levels, but something more specific is likely overriding the third level’s background color.
To target the third level specifically and ensure your color is applied, you need a more specific CSS selector. Try this:
This targets a `mobile-facets__submenu` that is itself nested within a `details` element, which is inside another `mobile-facets__submenu`, which is inside yet another `details` element. This increased specificity should ensure it overrides any default theme styles for the third level. Add this to your `base.css` or `theme.css` file.
If you’re still having trouble getting this working, please feel free to DM me with your website and I can further assist you.
To change the third-level mobile submenu color in Shopify’s Dawn theme, the issue is CSS specificity. The second level works with .mobile-facets__submenu { background-color: #121212 !important; }, but the third level is nested deeper. Use .mobile-facets__submenu details .mobile-facets__submenu { background-color: #121212 !important; } in base.css or theme.css and test on mobile.