A user encountered an issue where only 2 out of 12 color swatches were displaying on their product page.
Root Cause:
The color variant names were written in Danish, but the theme’s CSS only recognizes English color names for generating background colors automatically.
Solution Provided:
GemPages support suggested adding custom CSS code to map Danish color names to their corresponding color values:
Navigate to Online Store → Theme → Edit code
Open the theme.liquid file
Insert CSS code before the closing </body> tag to define background colors for each Danish color variant
The user successfully implemented this fix and confirmed it worked. However, they later reported the solution wasn’t working for another product, suggesting the issue may be ongoing or product-specific.
Summarized with AI on November 16.
AI used: claude-sonnet-4-5-20250929.