Skip to main content
Layout settings establish the foundational structure of your store, controlling how wide content displays, vertical space between sections, spacing in product grids, and overlay effects on images. These global settings create the overall visual rhythm and proportions of your site, affecting every page and section. Configure layout settings at the start of theme setup to establish consistent spacing and proportions that cascade throughout your entire storefront.

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.
Layout settings are global and affect your entire store. Changes here cascade to all pages and sections.

How it works

Sahara’s layout system has four main components:
  1. Page Width: Maximum content width (never exceeds this)
  2. Spacing System: Vertical space between sections (uses multiplier system)
  3. Grid Spacing: Space between items in product/collection grids
  4. Media Overlays: Gradient overlays on images to improve text readability
These work together to create a cohesive, well-proportioned design.
Section spacing uses a multiplier system: unit size × section level. Example: 1.6rem unit × level 4 = 6.4rem total spacing.

Getting started

1

Open Theme Customizer

From Shopify admin → Online StoreThemesCustomize
2

Access layout settings

Click Theme settings (gear icon in sidebar) → Select Layout
3

Set page width

Start with 1440px (default) - works for most modern screens
4

Configure spacing

Keep section spacing unit at 1.6rem unless specific design needs
5

Adjust grid spacing

0.8rem works well for 3-4 column product grids

Location

Path: Theme settings → Layout Layout settings location

Settings

Page Width

Sets the maximum width for your site’s content container. Content never exceeds this width even on ultra-wide screens.Range: 720px – 1920px
Step: 120px
Default: 1440px
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
Consider:
  • 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
Testing:
  • Preview on actual large monitors (27”+)
  • Check if images look sharp at chosen width
  • Verify text line length remains comfortable (60-80 characters)
1200px Page Width:
  • Product images: 1600px minimum (1.33× page width)
  • Hero images: 2000px minimum
  • Grid thumbnails: 800px
1440px Page Width (Default):
  • Product images: 2000px minimum (1.4× page width)
  • Hero images: 2400px minimum
  • Grid thumbnails: 1000px
1680px Page Width:
  • Product images: 2400px minimum (1.43× page width)
  • Hero images: 2800px minimum
  • Grid thumbnails: 1200px
1920px Page Width:
  • Product images: 2800px minimum (1.46× page width)
  • Hero images: 3200px minimum
  • Grid thumbnails: 1400px
Retina Displays: Multiply by 2× for perfect sharpness on retina/4K screens.

Page Gutter

Horizontal spacing on left and right edges of the page. Creates breathing room at screen edges.Range: 0 – 4.8rem
Step: 0.4rem
Default: 1.6rem (≈26px)
Page gutter ensures content doesn’t touch screen edges. 1.6-2.4rem provides comfortable spacing without wasting screen space.
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
Keep at 1.6-2.0rem (Recommended):
  • Standard e-commerce
  • Balanced design
  • Most use cases
Decrease to 0.8-1.2rem:
  • Maximize product grid space
  • Mobile-first design priority
  • Dense information displays
Set to 0rem:
  • Full-bleed hero images
  • Edge-to-edge design
  • Caution: Can cause text to touch edges on mobile
Layout settings overview

Best practices

  1. Start with 1440px page width
    Works for 95% of modern monitors. Only adjust if you have specific needs (wider for photography, narrower for text).
  2. Keep page gutter at 1.6-2.4rem
    Provides comfortable edge spacing without wasting screen space. 1.6rem (default) works for most stores.
  3. 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.
  4. Match desktop and mobile spacing
    Keep both at 1.6rem unless you have specific mobile optimization needs.
  5. 0.8rem grid spacing is safe default
    Works well for 3-4 column product grids. Adjust based on card size and column count.
  6. Use Normal (25%) media overlay
    Improves text readability while preserving image visibility. Increase only if text is hard to read.
  7. Test on actual large monitors
    If using wide page widths (1680px+), preview on 27”+ monitors to verify image quality.
  8. Ensure image quality matches width
    Wider page widths require higher resolution images. See “Image requirements by page width” accordion.
  9. Maintain consistent spacing rhythm
    Don’t mix spacing strategies - choose compact, standard, or spacious and stick with it.
  10. Preview across entire store
    Layout changes affect every page. Check homepage, collection pages, product pages, and cart before saving.

Common use cases

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%)
Image Requirements:
  • Product photos: 2000px minimum
  • Hero images: 2400px minimum
Why it works: Balanced proportions, comfortable spacing, works on all screens, minimal image requirements.
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%)
Image Requirements:
  • Product photos: 2400px minimum
  • Hero images: 2800px minimum
Why it works: Images take center stage, spacious feel matches premium positioning, mobile optimized separately.
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%)
Image Requirements:
  • Article images: 1600px sufficient
  • Hero images: 2000px
Why it works: Narrow width keeps line length comfortable (60-80 characters), generous spacing aids scanning, overlays ensure text readability.
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%)
Image Requirements:
  • Product photos: 1200px (smaller cards)
  • Hero images: 2400px
Why it works: Compact spacing shows more products, tight grid maximizes catalog visibility, still maintains readability.
  • 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.