404 Page

A customizable "page not found" section that turns a dead end into an opportunity. Display helpful messages, imagery, and social links when visitors land on broken or missing pages.

πŸ“ sections/404.liquid⏱️ 3 min setup

Overview

The 404 section displays when a visitor lands on a URL that doesn't exist. Instead of a generic error, Brave provides a fully customizable experience that keeps visitors engaged and guides them back to shopping.

πŸ–ΌοΈ

Dual Images

Show two featured images for visual impact on desktop
πŸ“

Custom Content

Personalized heading, text, and call-to-action button
πŸ”—

Social Links

Display your social channels to keep visitors connected
πŸ“±

Responsive Images

Separate desktop and mobile images for optimal display

When to Use

The 404 page automatically displays when:

  • A visitor types a wrong URL directly
  • A link points to a deleted product or page
  • Search engines index removed content
  • External sites link to moved content
πŸ’‘

Monitor your 404 page traffic in Google Analytics. Frequent hits may indicate broken links on your site or outdated external links that need redirects.

Quick Setup

1

Navigate to 404 Template

Go to Online Store β†’ Themes β†’ Customize and select 404 page from the template dropdown at the top.

2

Add Your Messaging

Customize the heading and text to match your brand voice. Consider using friendly, helpful language.

3

Set Button Destination

Point the CTA button to your most important pageβ€”usually "Shop All" or your homepage.

4

Add Visual Interest

Upload one or two images that represent your brand. These can be product shots, lifestyle images, or branded graphics.


Section Settings

Content

SettingTypeDefaultDescription
LabeltextundefinedSmall uppercase text above the heading (e.g., 'OOPS' or 'PAGE NOT FOUND').
Headingtext404Main heading displayed prominently. Keep it friendly and on-brand.
SubheadingtextundefinedSecondary text providing context or explanation.
TextrichtextundefinedAdditional message or helpful suggestions for the visitor.

Button

SettingTypeDefaultDescription
LabeltextBack to shoppingText displayed on the call-to-action button.
Linkurl/collections/allWhere the button takes visitors. Usually your shop or homepage.
StyleselectPrimaryButton appearance. Options: Primary, Secondary, Primary outline, Secondary outline.

Social Links

SettingTypeDefaultDescription
HeadingtextundefinedOptional heading above social links (e.g., 'Follow us').
Show linkscheckboxtrueDisplay social media links from Theme Settings β†’ Social.
ℹ️

Social links are pulled from your Theme Settings β†’ Social media configuration. Make sure those are filled in for links to appear.

Images

SettingTypeDefaultDescription
First (desktop)image_pickerundefinedPrimary image shown on desktop. Part of a two-image grid.
First (mobile)image_pickerundefinedOptional mobile-specific version of the first image.
Second (desktop)image_pickerundefinedSecond image for the desktop grid. Creates a balanced layout.
Second (mobile)image_pickerundefinedOptional mobile-specific version of the second image.

Spacing

SettingTypeDefaultDescription
Desktop toprange0pxTop margin on desktop (0-120px).
Desktop bottomrange0pxBottom margin on desktop (0-160px).
Mobile toprange0pxTop margin on mobile (0-120px).
Mobile bottomrange0pxBottom margin on mobile (0-160px).

Best Practices

Content Strategy

  1. Be friendly, not apologetic β€” "Looks like this page took a vacation" works better than "Error 404"
  2. Provide clear direction β€” Always include a prominent CTA button
  3. Keep it on-brand β€” Use your brand voice and visual style
  4. Suggest alternatives β€” Consider linking to popular categories or search

Image Tips

  1. Use engaging imagery β€” This is a chance to show off your brand
  2. Match your aesthetic β€” Images should feel consistent with your site
  3. Optimize file sizes β€” Large images slow page load
  4. Consider humor β€” A playful image can turn frustration into a smile

SEO Considerations

  1. Set up redirects β€” For known broken URLs, create 301 redirects
  2. Monitor 404 hits β€” Use Google Search Console to find crawl errors
  3. Don't over-customize β€” Keep the page simple and fast-loading
  4. Maintain site structure β€” Ensure your navigation is always accessible
⚠️

Don't hide the 404 status β€” Search engines need to receive a proper 404 HTTP response so they can remove indexed pages that no longer exist.


Example Configurations

Minimal & Clean

  • Label: "404"
  • Heading: "Page not found"
  • Text: "The page you're looking for doesn't exist or has been moved."
  • Button: "Continue shopping" β†’ /collections/all
  • Images: None (text-only)

Visual & Engaging

  • Label: "OOPS!"
  • Heading: "This page went on vacation"
  • Subheading: "Don't worry, your next favorite outfit is just a click away."
  • Button: "Shop New Arrivals" β†’ /collections/new-arrivals
  • Images: Two lifestyle shots of your products

Social Focus

  • Heading: "Page not found"
  • Text: "While you're here, connect with us on social media!"
  • Social heading: "Follow our journey"
  • Show links: βœ“ Enabled
  • Button: "Back to homepage" β†’ /

Troubleshooting

Images not displaying

  • Verify images are uploaded in the section settings
  • Check that image files aren't corrupted
  • Try re-uploading the images
  • Ensure images meet Shopify's requirements

Social links missing

  • Go to Theme Settings β†’ Social media and add your URLs
  • Ensure Show links is enabled in section settings
  • Verify the social URLs are valid format

Button not working

  • Check that a URL is set in the Link field
  • Verify the destination page exists
  • Try using a different URL format (with or without domain)

Layout issues

  • Check if images have appropriate aspect ratios
  • Test on different screen sizes
  • Verify spacing settings aren't causing overlap

Related Settings

  • Theme Settings β†’ Social media β€” Configure social links that appear on 404 page
  • Navigation β†’ Create redirects β€” Set up 301 redirects for moved content

πŸ“– See Theme Settings for global configuration options.