Join us for an upcoming Shopify Partner webinar on February 27, 2024. Discover the latest Checkout Extensibility features, and deep dive on improvements to Shopify Functions and Web Pixels. Register now for either the 10am EST or 2pm EST sessions.

Adding side margins across entire website

1 0 1

We would like to add margins down either side of our entire website. We feel like all the content look too big when it is full screen width.


We do still want full width headers and footers though.


Anyone able to share the code to insert for this site?



Reply 1 (1)

Shopify Expert
5357 959 1284

Hello There,

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset >theme.min.css and paste this at the bottom of the file:

.flow-homepage,.main-content {
max-width: 1380px;
margin: auto;
padding: 0 15px;
Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Shopify Apps URL :-
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing