A Shopify store owner needs help center-aligning their newsletter signup box and message on both desktop and mobile views, as it currently appears off-center.
Solutions Provided:
Two community members offered CSS code solutions:
Made4uo-Ribe suggested adding CSS to the theme’s stylesheet (base.css/style.css) in the Assets folder, targeting the footer newsletter block with center alignment and margin adjustments
DaisyVo recommended placing CSS code in the Custom CSS section under Theme Settings, using media queries for responsive alignment on different screen sizes
Current Status:
The issue appears partially resolved:
Desktop view: Successfully center-aligned
Mobile view: Mixed results - worked in the customization preview but alignment issues persist on the actual live website
The original poster confirmed one solution worked when applied to the signup banner CSS file in the Assets folder, achieving center alignment on both desktop and mobile. However, there’s some confusion as later messages suggest mobile alignment problems continue. Made4uo-Ribe shared a screenshot showing proper alignment on their end and asked what device the user is testing on.
Summarized with AI on November 3.
AI used: claude-sonnet-4-5-20250929.
Hi, I’d like to centre my newsletter box and the message above it centred on the desktop and mobile versions both. Currently is off the centre. In the mobile view it’s completely off. I can’t figure out which footer file and where do I need to make the correction to get this rectified.
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, update, it was working fine in the mobile view section of customization but in real time on the website the alignment is still an issue. Desktop view has the problem solved but mobile view the problem still presists.