A user seeks to create an almost full-width header in the Taste theme by removing left and right padding. Multiple solutions are provided:
CSS Solutions Offered:
Add custom CSS to base.css, style.css, or theme.css in the Assets folder
Target .header:not(.reward-menu).page-width with padding adjustments
One approach uses padding-left: 12px !important; padding-right: 0px !important;
Another recommends media query approach: padding-left: 1.2rem; padding-right: 0; for screens min-width 990px, accounting for existing -1.2rem offset
Implementation Steps:
Navigate to Online Store > Themes > Actions > Edit code
Locate appropriate CSS file in Assets folder
Add CSS code at bottom of file and save
Alternatively, code can be added to theme.liquid above </head> tag.
Follow-up Issue:
Another user successfully applied the header fix but now seeks to extend full-width padding removal to the entire site for both desktop and mobile.
Visual previews were shared showing before/after results. The discussion remains open regarding the site-wide implementation question.
Summarized with AI on November 12.
AI used: claude-sonnet-4-5-20250929.
Hey, I am updating the design on my store and with this design the best way to make it beautiful is with an almost full width header. Does anybody know how to do this via code? Thanks in regards!
Keeping responsiveness screen sizes in mind, I would recommend adding this CSS. The 1.2rem padding-left also accounts for an existing portion of the code placed on the header element, which adds -1.2rem. Attached a preview below.
media screen and (min-width: 990px) .header:not(.drawer-menu).page-width {
padding-left: 1.2rem;
padding-right: 0;
}
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:
Hi, I used this code on my site and it worked for the header really well, please could you help me as I am trying to add it to the whole site to get rid of the padding left and right to make it full screen width on desktop & phone? Thank you!