Materia Theme
  • What is Materia?
  • Getting Started
    • Download & Install
    • Theme License & Activation
    • Create Pages - Required
  • Theme Updates
  • Required Apps
  • Recommended Apps
  • Mega Menu
  • Store Settings - Required
  • Materia Theme Dashboard
  • Theme Settings
    • Logo
    • Favicon
    • Layout Settings
    • Typography
    • Color Schemes
    • Website Intro
  • Overall Zoom
  • Browser Tab Messages
  • Badges
  • Notification Bubble
  • Buttons Customization
  • Main Collection Filter
  • Product Card Settings
  • Product Variant Swatches
  • Search Behavior Settings
  • Wishlist
  • Cart Settings
  • Social Media
  • Preloader Settings
  • Currency Display Settings
  • Cookies
  • Speed Optimization
  • General Store Information
  • Terms and Conditions Settings
  • Theme Sections
    • Header
    • Announcement Bar Basic
    • Upper Navigation Bar
    • Announcement Bar Pro 1
    • Hero Pro 1
    • Hero Image 1
  • Hero Banner 2
  • Hero Product 2
  • Carousel Hero Slider
  • Slideshow Pro
  • Image
  • Video
  • Benefits Cards Pro 2
  • Benefits Pro
  • Image & VIdeo With Text
  • Image With Icons
  • Image With Benefits
  • Image With Text Pro
  • Page's global sections
    • Announcement Bars
    • Header
    • Footer
    • Mobile Navigation Bar
    • Back To Top Pro
  • Overlay Group
    • Cookie Consent Banner
    • Mobile Navigation Bar
    • Page Tag
    • Custom Color Swatches
    • Order Notification Pro 1
    • Image Banner Popup
    • Promotion Banner Pro
    • Back To Top Pro
  • Products & Collections
    • Product Page
      • Breadcrumbs
      • Product Snippets
        • Product – Trust Badges
        • Product - Upsell Addon
        • Product-Payment Badges #1
        • Product - Sold Social Proof
        • Product - Bundle Pro
        • Product – Text Timer
        • Product - Promo Banner
        • Product - Vertical Benefits
        • Product - Payment Badges #2
        • Ecomz – Discount Coupon
        • Product - Size Chart Image
        • Product - Circle Images
      • Product Information
      • Product Templates
    • Collection Page
      • Collection Template
  • Other Pages
    • 404 Page
    • Blogs
    • Customer Login
    • Cart & Checkout
  • FAQs
    • Missing images when install Materia
    • Why are some pages missing?
    • Theme translation
    • Change currency
    • Why Does the Desktop Preview Look Compressed in the Theme Editor?
    • How to change fonts?
Powered by GitBook
On this page
  • How to Enable Custom Swatches
  • Custom Color Options
  • Custom CSS (Optional)
  • Use Case Example
  • Summary
  1. Overlay Group

Custom Color Swatches

PreviousPage TagNextOrder Notification Pro 1

Last updated 1 month ago

This section allows you to define and manage custom visual swatches that appear on your product pages (typically for color variants). You can use either:

  • A hex color code for clean, flat color circles

  • Or a custom image (e.g. texture, fabric photo, gradient) for more complex visual representation

Images will override hex codes if both are provided.


How to Enable Custom Swatches

Before using this feature, make sure it's activated:

  1. Go to Theme Settings

  2. Navigate to Color Swatches

  3. Set the Swatch Item Type to Custom

This will ensure your product variant options (like color) are displayed using your defined swatches.


Custom Color Options

This block defines each individual color swatch.

1. Custom Color Name

  • Example: Black

  • This is the name of the color variant (must match exactly with the variant option name in Shopify). If your variant is called Black in your product settings, the swatch name must also be Black.

It's case-sensitive and must be an exact match to the product option value for the swatch to appear.


2. Color Hex Code

  • Example: #000000

  • Choose a color via the picker or enter a hex code manually.

  • The hex code is used to generate a simple color circle as the swatch.


3. Color Swatch Image (Optional)

  • Upload a small representative image (e.g. fabric pattern, material texture, gradient, etc.)

  • If an image is uploaded, it will override the hex code swatch.

Recommended:

  • Use square images (e.g. 80x80px or 100x100px)

  • Keep file sizes small for performance


Custom CSS (Optional)

If you need more advanced styling, you can target swatch elements using CSS to:

  • Add borders

  • Show hover effects

  • Animate selection

  • Change shapes (e.g. from circles to squares)

Let me know if you want help writing CSS for these swatches (like hover outlines, scaling effects, etc.).


Use Case Example

Imagine you sell a T-shirt in 3 variants:

  • Black

  • White

  • Red with Texture

You could:

  • Assign #000000 for Black

  • Assign #FFFFFF for White

  • Upload a fabric texture image for Red with Texture

This way, shoppers see realistic previews of their options before selecting them — improving trust, user experience, and conversions.


Summary

The Custom Color Swatches tool helps you:

  • Visually display product variants in a clear and engaging way

  • Use either solid colors (hex) or images (textured, gradients, etc.)

  • Match exact variant names to connect your swatches to real Shopify options

It's a subtle but powerful upgrade to your product pages — making your store feel more premium and interactive.