What this controls
Layout settings establish the foundational structure of your store - how wide content displays, how much space appears between sections, spacing in product grids, and overlay effects on images. These settings create the overall visual rhythm and proportions of your site.How it works
Sahara’s layout system has four main components:- Page Width: Maximum content width (never exceeds this)
- Spacing System: Vertical space between sections (uses multiplier system)
- Grid Spacing: Space between items in product/collection grids
- Media Overlays: Gradient overlays on images to improve text readability
Section spacing uses a multiplier system: unit size × section level. Example: 1.6rem unit × level 4 = 6.4rem total spacing.
Getting started
Location
Path: Theme settings → Layout
Settings
- Page Structure
- Section Spacing
- Grid Spacing
- Media Overlays
Page Width
Sets the maximum width for your site’s content container. Content never exceeds this width even on ultra-wide screens.Range: 720px – 1920pxStep: 120px
Default: 1440px
Choosing the right page width
Choosing the right page width
Standard Widths:
- 1200-1320px: Compact, text-focused (blogs, documentation)
- 1440px: Default, balanced for most stores (recommended)
- 1560-1680px: Wide, visual-heavy (fashion, photography)
- 1800-1920px: Ultra-wide, requires excellent images
- Monitor sizes: 1440px matches 1440p monitors (increasingly common)
- Image quality: Wider widths need higher resolution images (2000px+ product photos)
- Content type: Text-heavy sites benefit from narrower widths (easier reading)
- Product photography: If you have stunning large images, go wider
- Preview on actual large monitors (27”+)
- Check if images look sharp at chosen width
- Verify text line length remains comfortable (60-80 characters)
Image requirements by page width
Image requirements by page width
1200px Page Width:
- Product images: 1600px minimum (1.33× page width)
- Hero images: 2000px minimum
- Grid thumbnails: 800px
- Product images: 2000px minimum (1.4× page width)
- Hero images: 2400px minimum
- Grid thumbnails: 1000px
- Product images: 2400px minimum (1.43× page width)
- Hero images: 2800px minimum
- Grid thumbnails: 1200px
- Product images: 2800px minimum (1.46× page width)
- Hero images: 3200px minimum
- Grid thumbnails: 1400px
Page Gutter
Horizontal spacing on left and right edges of the page. Creates breathing room at screen edges.Range: 0 – 4.8remStep: 0.4rem
Default: 1.6rem (≈26px)
When to adjust page gutter
When to adjust page gutter
Increase to 2.4-3.2rem:
- Luxury/premium brands (creates exclusivity)
- Text-heavy content (improves reading comfort)
- Ultra-wide layouts (balances large width)
- Minimal design aesthetic
- Standard e-commerce
- Balanced design
- Most use cases
- Maximize product grid space
- Mobile-first design priority
- Dense information displays
- Full-bleed hero images
- Edge-to-edge design
- Caution: Can cause text to touch edges on mobile
Best practices
-
Start with 1440px page width
Works for 95% of modern monitors. Only adjust if you have specific needs (wider for photography, narrower for text). -
Keep page gutter at 1.6-2.4rem
Provides comfortable edge spacing without wasting screen space. 1.6rem (default) works for most stores. -
Use 1.6rem section spacing unit
Balanced spacing that works with all section levels (0, 1, 2, 4, 6). Only adjust if going for compact or spacious aesthetic. -
Match desktop and mobile spacing
Keep both at 1.6rem unless you have specific mobile optimization needs. -
0.8rem grid spacing is safe default
Works well for 3-4 column product grids. Adjust based on card size and column count. -
Use Normal (25%) media overlay
Improves text readability while preserving image visibility. Increase only if text is hard to read. -
Test on actual large monitors
If using wide page widths (1680px+), preview on 27”+ monitors to verify image quality. -
Ensure image quality matches width
Wider page widths require higher resolution images. See “Image requirements by page width” accordion. -
Maintain consistent spacing rhythm
Don’t mix spacing strategies - choose compact, standard, or spacious and stick with it. -
Preview across entire store
Layout changes affect every page. Check homepage, collection pages, product pages, and cart before saving.
Common use cases
Standard e-commerce store (default settings)
Standard e-commerce store (default settings)
Goal: Balanced, professional layout that works for most productsSettings:
- Page width: 1440px (default)
- Page gutter: 1.6rem
- Section spacing unit: 1.6rem
- Desktop spacing: 1.6rem
- Mobile spacing: 1.6rem
- Grid horizontal: 0.8rem
- Grid vertical: 0.8rem
- Media overlay desktop: Normal (25%)
- Media overlay mobile: Normal (25%)
- Product photos: 2000px minimum
- Hero images: 2400px minimum
Fashion/photography store (wide, spacious)
Fashion/photography store (wide, spacious)
Goal: Showcase large, high-quality images with generous spacingSettings:
- Page width: 1680px (wide)
- Page gutter: 2.4rem (generous edges)
- Section spacing unit: 2.0rem (spacious)
- Desktop spacing: 2.0rem
- Mobile spacing: 1.6rem (reduced for phones)
- Grid horizontal: 1.2rem (room between products)
- Grid vertical: 1.2rem
- Media overlay desktop: No overlay (0%) - show full images
- Media overlay mobile: Normal (25%)
- Product photos: 2400px minimum
- Hero images: 2800px minimum
Blog/content site (narrow, readable)
Blog/content site (narrow, readable)
Goal: Maximum readability for text-heavy contentSettings:
- Page width: 1200px (narrow for comfortable reading)
- Page gutter: 2.4rem (focus content)
- Section spacing unit: 2.0rem (clear article separation)
- Desktop spacing: 2.0rem
- Mobile spacing: 1.6rem
- Grid horizontal: 1.6rem (generous for featured posts)
- Grid vertical: 2.0rem (vertical hierarchy)
- Media overlay desktop: Semi dark (50%) - text always readable
- Media overlay mobile: Semi dark (50%)
- Article images: 1600px sufficient
- Hero images: 2000px
Large catalog store (compact, efficient)
Large catalog store (compact, efficient)
Goal: Show maximum products per screen while maintaining usabilitySettings:
- Page width: 1560px (wide but not extreme)
- Page gutter: 1.2rem (minimize edge waste)
- Section spacing unit: 1.2rem (compact sections)
- Desktop spacing: 1.2rem
- Mobile spacing: 1.2rem
- Grid horizontal: 0.6rem (tight grid)
- Grid vertical: 0.8rem (slightly more vertical space)
- Media overlay desktop: Normal (25%)
- Media overlay mobile: Normal (25%)
- Product photos: 1200px (smaller cards)
- Hero images: 2400px
Related settings
- Colors - Layout works with color schemes for visual consistency
- Typography - Text sizing should match page width choices
- Common Settings - Section widths and spacing levels apply within layout structure
- Products - Product grid settings work with grid spacing
Need help? See Shopify’s theme customization guide or test layout changes in preview mode before publishing.