A Shopify store owner using the “Sense” theme wanted to extend their menu bar’s background color across the full screen width. Initially, the background color only appeared behind the navigation titles rather than spanning the entire width.
Solution provided:
Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
Locate the CSS file (base.css, style.css, or theme.css) in the Assets folder
Add custom CSS targeting the header navigation elements to set max-width to 100%, display to flex, and adjust flex properties
Additional question raised:
The original poster also asked if it’s possible to change a menu title’s background color when selected/active.
Status: Resolved - The CSS solution successfully extended the menu bar to full width, and the poster confirmed it works perfectly.
Summarized with AI on November 13.
AI used: claude-sonnet-4-5-20250929.
I was trying to modify a bit my store’s menu bar. I was able to change its background colour but I can’t get it to take up the entire screen. I think the background colour is only shown below the navigation titles but I would like it to take up the entire length of the screen. The theme is “Sense”. Here is the code I have used:
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: