A user is experiencing an issue where a top section displays full width on desktop but has unwanted left and right padding on mobile, causing the image to be cut off.
Solutions Provided:
Two community members offered different approaches:
Solution 1: Add custom CSS code to the theme.liquid file, placed above the </body> tag
Solution 2: Add CSS to the theme’s stylesheet (base.css, style.css, or theme.css) targeting specific container classes with padding: 0 !important
Outcome:
The original poster confirmed one of the solutions worked, thanking the contributors. Both helpers included screenshots demonstrating the expected result and requested feedback through likes/marking the solution.
Summarized with AI on November 5.
AI used: claude-sonnet-4-5-20250929.
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: