Customize Your Icon’s Appearance with Color and Size Controls
The icon color and size settings give you complete control over how your view counter icon appears on your store. Whether you want a subtle, minimal look or a bold, eye-catching design, WhoKnew Views™ makes it easy to match your brand perfectly. These settings work with all icon libraries and update instantly in the live preview.
✅ Available in: Free & Pro
🎨 Changing Your Icon Color
The icon color picker lets you choose any color for your view counter icon, ensuring it matches your brand palette and complements your product page design.
How to Set Icon Color
- Navigate to WhoKnew → WhoKnew Views™ → Styling
- Scroll to the “Icon Color” setting
- Click the color picker box to open the color selector
- Choose your desired color using:
- Color Wheel: Visual color selection
- Hex Code: Enter a specific hex value (e.g.,
#667eea) - RGB/HSL: Fine-tune with numeric values
- Opacity Slider: Adjust transparency (0-100%)
- The live preview updates instantly to show your changes
- Click “Save Changes” to apply
💡 Pro Tip: Use your brand’s primary or accent color for the icon to create visual cohesion across your product pages. The icon will stand out more with a contrasting color against your theme’s background.
Color Best Practices
| Use Case | Recommended Approach |
|---|---|
| 🎯 Brand Consistency | Use your brand’s primary or secondary color |
| 👁️ High Visibility | Choose a color that contrasts with your background |
| 🧘 Subtle & Minimal | Use a muted gray or low-opacity version of your text color |
| 🚀 Attention-Grabbing | Use bright, saturated colors like electric blue or vibrant green |
| 🌙 Dark Mode Themes | Use lighter colors (white, light blue, pastels) for contrast |
📏 Adjusting Icon Size
WhoKnew Views™ provides separate size controls for desktop and mobile devices, ensuring your icon looks perfect on every screen.
Desktop Icon Size (Default)
- Locate the “Icon Size (Default, px)” setting
- Enter your desired size in pixels (e.g.,
16,20,24) - Default size is
12px - Check the live preview to see how it looks
- Adjust as needed for your design
Mobile Icon Size (Small Screens)
- Scroll to “Icon Size (Small Screens, px)”
- Enter a size optimized for mobile devices
- This size applies below your breakpoint setting (default: 768px)
- Use the preview’s mobile mode to test
⚠️ Important: Mobile icons should often be slightly larger than desktop icons to ensure they’re easily visible on smaller screens. A good rule of thumb is to add 2-4px to your desktop size for mobile.
Recommended Icon Sizes
| Design Style | Desktop Size | Mobile Size |
|---|---|---|
| Minimal | 12-14px | 14-16px |
| Standard | 16-18px | 18-20px |
| Bold | 20-24px | 22-26px |
| Extra Large | 28-32px | 30-34px |
🎬 Using the Live Preview
The live preview is your best friend when customizing icon color and size. It shows exactly how your counter will appear on your store.
Desktop Preview
- Select “Desktop Landscape” from the preview dropdown
- Adjust color and size settings
- Watch the preview update in real-time
- Check readability and visual balance
Mobile Preview
- Switch to “Mobile Portrait” mode
- Verify your mobile icon size is appropriate
- Ensure color contrast is sufficient on smaller screens
- Test different device widths if needed
✨ Pro Tip: Make changes in small increments and check the preview after each adjustment. This helps you dial in the perfect size and color combination without overshooting your target design.
🔄 Per-Product Customization
Both Free and Pro users can customize icon color and size on a per-product basis, overriding global settings for specific products.
How to Apply Per-Product Settings
- On the Styling page, use the “Apply Settings To” dropdown
- Search for or select your product
- Adjust icon color and size as desired
- Click “Apply to This Product”
- The settings will now apply only to that specific product
When to Use Per-Product Settings
- Featured Products: Make icons more prominent with larger sizes or bolder colors
- Sale Items: Use attention-grabbing colors like red or orange
- Premium Products: Use sophisticated colors like gold or deep purple
- Different Categories: Match icon colors to category themes
🎨 Color & Size Harmony
Icon color and size work together to create visual impact. Here are some proven combinations:
Subtle Elegance
- Color: Soft gray (#666666) or muted blue (#5a6c7d)
- Size: 12-14px desktop, 14-16px mobile
- Best For: Luxury brands, minimal designs, professional stores
Balanced Standard
- Color: Brand primary color or medium contrast
- Size: 16-18px desktop, 18-20px mobile
- Best For: Most stores, general products, everyday use
Bold Impact
- Color: High-contrast, saturated colors (electric blue, vibrant green)
- Size: 20-24px desktop, 22-26px mobile
- Best For: Flash sales, trending products, attention-grabbing
Statement Design
- Color: Bright, bold colors (neon, gradients via CSS)
- Size: 28-32px desktop, 30-34px mobile
- Best For: Hero products, landing pages, promotional campaigns
🐛 Common Issues & Solutions
Icon Too Small or Large
- Issue: Icon doesn’t match text size or looks out of place
- Solution: Aim for icons to be 1-1.5x the size of your text. If your text is 16px, try 16-24px for the icon
Poor Color Contrast
- Issue: Icon is hard to see against background
- Solution: Use a contrast checker tool to ensure at least 3:1 contrast ratio. Add icon shadows for extra visibility
Mobile Icon Invisible
- Issue: Icon disappears or is too small on mobile
- Solution: Increase your mobile icon size by 4-6px compared to desktop. Test on actual devices
Color Doesn’t Match Preview
- Issue: Live preview shows different color than front-end
- Solution: Clear your browser cache and site cache. Check for CSS conflicts in your theme
✅ Quick Checklist
Before finalizing your icon color and size settings:
- ☑️ Icon color matches or complements your brand palette
- ☑️ Icon size is proportional to your text size
- ☑️ Color contrast is sufficient for readability
- ☑️ Mobile size is larger than desktop for visibility
- ☑️ Preview tested in both desktop and mobile modes
- ☑️ Per-product settings applied where needed
- ☑️ Settings saved and front-end checked on actual devices
🚀 Next Steps
- 📖 Add Visual Depth: Learn about Icon Shadows & Effects to enhance your icon further
- 🎨 Customize Text: Explore Text Color & Size settings to match your icon styling
- 🔧 Master Positioning: Read Absolute vs Relative Positioning to place your styled icon perfectly