How can I add margin/padding to sides Refresh theme?

Topic summary

Goal: Add left/right margin or padding with gray side background in Shopify’s Refresh theme so the main content appears centered on white, with gray gutters as in the screenshots.

Progress: Helpers requested the store URL and visuals to clarify requirements. One noted the page already had padding, but the container’s non‑white background made it look like it didn’t.

Details provided: The store URL and password were shared. Current vs. desired layouts were shown via images, which were central to understanding the target look.

Solution: Guidance was given to edit theme.liquid (Online Store > Themes > Edit code) and insert custom code above the closing tag to implement the gray side background and proper spacing. The exact code content isn’t visible in the thread excerpt.

Outcome: The change worked as intended and was confirmed by the requester. Status: Resolved.

Summarized with AI on December 27. AI used: gpt-5.

Hi @manbru

It has padding/margin, but it is just the background of your container, not white, so you thought it did not.