100+ Production-Ready Counter Designs: Copy, Customize & Deploy in Seconds
Imagine having a growing collection of 100+ professionally designed view counters at your fingertips—luxury minimalism, neon cyberpunk, 3D depth effects, animated borders, hover magic, and more. The WhoKnew Views™ CSS Gallery is your instant inspiration library, where every design is production-ready, fully documented, and copyable with a single click.
💡 What This Gallery Offers
100+ complete counter designs organized into 9 categories: Luxury Minimalism, Beginner-Friendly, Intermediate, Hover Magic, Animations, Borders & Frames, 3D & Depth, Elite Premium, and the CSS Encyclopedia. Each example includes live preview, complete CSS code, icon specifications, and one-click copy to clipboard. New designs added constantly.
🗺️ Accessing the CSS Gallery
To open the gallery modal:
- Go to WhoKnew → WhoKnew Views → Styling tab
- Scroll down to the “Custom CSS” section (bottom of page)
- Click the “🚀 Explore CSS Gallery” button
- A large modal opens with the gallery interface
The gallery stays open while you browse—you can explore categories, copy multiple examples, and return to your settings whenever you’re ready to paste.
🎯 Gallery Interface Overview
The CSS Gallery modal has three main areas:
| Section | Location | Purpose |
|---|---|---|
| Header | Top (blue gradient) | Gallery title, description, close button (×) |
| Category Tabs | Below header (horizontal row) | 9 design category filters |
| Example Cards | Main content area (scrollable) | Live previews with code and copy buttons |
📂 The Nine Design Categories
Each tab represents a distinct design philosophy and skill level. Click any tab to filter the gallery to that category’s examples.
| Tab | Design Style | Best For | Example Count |
|---|---|---|---|
| 💎 Luxury | Minimalist, refined, elite simplicity | High-end brands, jewelry, fashion, cosmetics | 18 designs |
| 🌱 Beginner | Simple, safe, classic designs | First-time CSS users, safe choices | 15 designs |
| 📐 Intermediate | Gradients, shadows, layered effects | Confident users, modern brands | 18 designs |
| ✨ Hover Magic | Interactive, mouse-responsive effects | Desktop-focused stores, interactive UX | 18 designs |
| 🎬 Animations | Motion, entrance effects, keyframes | Eye-catching counters, promotions | 21 designs |
| 🔲 Borders & Frames | Advanced border styling, neon glows | Framed counters, outlined designs | 18 designs |
| 🎲 3D & Depth | Perspective, transforms, layers | Dramatic effects, gaming, tech | 18 designs |
| 👑 Elite Premium | Complex, multi-effect masterpieces | Showstopping designs, flagship products | 18 designs |
| 📚 CSS Encyclopedia | Link to visual builder tool | Creating custom designs from scratch | N/A (tool link) |
🆕 Growing Collection
New templates are added constantly. Check back regularly to discover fresh designs inspired by current trends, seasonal themes, and user requests. The count above reflects the current total—yours may be higher!
🎴 Understanding Example Cards
Each design example appears as a card with four key components:
Component 1: Design Name & Description
At the top of each card:
- Bold name (e.g., “Zen Garden”, “Neon Cyberpunk”, “Golden Frame”)
- Brief tagline describing the aesthetic (e.g., “Japanese minimal – maximum calm”)
Component 2: Icon Specifications Bar
A highlighted yellow bar shows the icon used in this example:
💡 Ion Leaf • Font: Noto Sans 300 • Normal
What this tells you:
- “Ion Leaf” = Icon name (from Ionicons library)
- “Font: Noto Sans 300” = Font family and weight used for text
- “Normal” = Text transform setting (could be Uppercase, Lowercase, etc.)
⚠️ CRITICAL: CSS Cannot Create Icons!
The icon name is informational only—it tells you which icon was used in the preview. The CSS code you copy does NOT create this icon. You must manually select it in the Styling tab first (see “Applying Icons” section below).
Component 3: Live Preview
A rendered view counter showing exactly how the design looks with:
- Real icon (if applicable)
- Sample text: “1,234 views in 48 hours”
- Active animations (for animated examples)
- Hover effects (mouse over animated designs)
- Appropriate background (light, dark, or gradient to showcase the design)
The preview uses actual plugin HTML structure—what you see is exactly what you’ll get on your products.
Component 4: CSS Code Block
A dark code panel showing the complete, production-ready CSS:
body .product-views-counter .view-counter-text,
body .product-views-counter .view-counter-icon {
color: #4a4a4a !important;
font-size: 14px !important;
font-weight: 300 !important;
}
Below the code: a bright green “📋 Copy CSS” button.
📋 Copying & Applying Templates
Step 1: Browse & Find Your Design
- Click through the category tabs (💎 Luxury, 🌱 Beginner, etc.)
- Scroll through the examples in each category
- Mouse over animated designs to see hover effects
- Find a design that matches your brand aesthetic
Step 2: Copy the CSS Code
- Click the green “📋 Copy CSS” button below the code
- A success notification appears in the top-right: “✓ Copied to clipboard!”
- The CSS is now in your clipboard, ready to paste
Step 3: Note the Icon (If Used)
Look at the yellow icon specification bar:
- If it shows an icon name (e.g., “Ion Leaf”, “FA Eye”, “Dashicons Heart”), write it down
- You’ll need to select this icon manually in the next step
- If the design has no icon bar, the design doesn’t use an icon—skip this step
Step 4: Close Gallery & Paste CSS
- Click the × (close button) in the top-right of the modal to exit the gallery
- You’re back at the Styling tab
- Scroll to the “Custom CSS” section
- Click inside the large textarea
- Press Ctrl+V (or Cmd+V on Mac) to paste the copied CSS
- The code appears in the textarea
Step 5: Apply the Icon (If Applicable)
IMPORTANT: If the design uses an icon, you must select it manually:
- Scroll up on the Styling tab to the “Icon Library” field
- Select the correct library:
- “Ion” prefix → Select Ionicons
- “FA” prefix → Select Font Awesome
- “Dashicons” prefix → Select Dashicons
- “Elegant” prefix → Select Elegant Icons
- “Dripicons” prefix → Select Dripicons
- In the “Icon Name” field, search for and select the icon (e.g., search “leaf” for Ion Leaf)
- The icon now appears in your preview and on products
Step 6: Save Changes
- Scroll to the bottom of the Styling tab
- Click the blue “Save Changes” button
- Wait for the success message: “Settings saved successfully!”
- Visit a product page to see your new counter design live
🔧 Customizing Templates: The !important Problem
Here’s the most common issue new users face: You paste a template, it looks perfect, but then you try to change the icon color using the Icon Color picker in the Styling tab… and nothing happens. Why?
Understanding !important Flags
Every template uses !important flags to ensure the CSS overrides all default styles:
body .product-views-counter .view-counter-icon {
color: #fbbf24 !important; /* This blocks UI color picker! */
font-size: 20px !important; /* This blocks UI size picker! */
}
The trade-off:
- ✅ Benefit: CSS always applies, overriding any conflicting styles
- ❌ Downside: UI pickers (Icon Color, Font Size, etc.) stop working for properties with
!important
💡 Two Ways to Customize Templates
You have two options when customizing a template: (1) Remove the !important flag from specific properties to restore UI control, or (2) Manually edit the CSS values directly in the code. Choose based on your comfort level.
Method 1: Remove !important to Restore UI Control
If you want to use the UI pickers (color dropdowns, size sliders, etc.) to customize the template, remove !important from those specific properties:
Example: Restoring Icon Color Picker
Original template code:
body .product-views-counter .view-counter-icon {
color: #fbbf24 !important;
font-size: 20px !important;
filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6)) !important;
}
To allow Icon Color picker to work, remove !important from the color line only:
body .product-views-counter .view-counter-icon {
color: #fbbf24; /* Removed !important */
font-size: 20px !important; /* Kept !important */
filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6)) !important; /* Kept !important */
}
Result: Now you can use the Icon Color picker in the Styling tab to change the icon color visually. The font-size and filter still use !important, so those remain locked to the CSS values.
Example: Restoring Multiple UI Controls
Want to control both icon color and icon size via UI pickers? Remove !important from both lines:
body .product-views-counter .view-counter-icon {
color: #fbbf24; /* Removed !important - UI picker works */
font-size: 20px; /* Removed !important - UI picker works */
filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6)) !important; /* Kept !important - stays locked */
}
Result: Icon Color and Icon Size pickers both work. The shadow filter stays controlled by CSS.
Which Properties to Remove !important From
| What You Want to Change | Remove !important From | Which UI Picker Becomes Active |
|---|---|---|
| Icon color | color: ... !important; | Icon Color picker |
| Icon size | font-size: ... !important; | Icon Size slider |
| Text color | color: ... !important; (in text rule) | Text Color picker |
| Font size | font-size: ... !important; (in text rule) | Font Size slider |
| Background color | background: ... !important; | Background Color picker |
| Border styling | border: ... !important; | Border Style/Color/Width pickers |
| Padding/spacing | padding: ... !important; | Padding slider |
| Position/location | top/left/right/bottom: ... !important; | Position controls |
Method 2: Manually Edit CSS Values
If you’re comfortable editing code directly, you can keep all !important flags and just change the values:
Example: Changing Icon Color Manually
Original:
color: #fbbf24 !important; /* Golden yellow */
Changed to red:
color: #ef4444 !important; /* Red */
Result: Icon turns red. !important stays, so the UI picker still won’t work—but you don’t need it because you’re editing the CSS directly.
Example: Moving Icon to Right Side
Some templates use flex-direction to control icon position. To move the icon from left to right:
Original (icon on left):
body .product-views-counter .view-counter-wrapper {
flex-direction: row !important; /* Icon → Text */
}
Changed (icon on right):
body .product-views-counter .view-counter-wrapper {
flex-direction: row-reverse !important; /* Text → Icon */
}
Result: Icon moves to the right side of the text.
💡 Pro Tip: Hybrid Approach
You can mix both methods: Remove !important from properties you want to control via UI (e.g., colors, sizes), but keep !important on advanced properties you’ll edit manually (e.g., animations, transforms, shadows). This gives you visual controls for basics while retaining full CSS power for advanced effects.
Complete Example: Customizing “Neon Cyberpunk” Template
Let’s say you copied the “Neon Cyberpunk” template, and you want to:
- Change the neon color from cyan to purple
- Use the UI picker to control icon size
- Keep the neon glow effect locked to CSS
Original template code:
body .product-views-counter .view-counter-wrapper {
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
border: 2px solid #06b6d4 !important;
box-shadow: 0 0 20px rgba(6, 182, 212, 0.6) !important;
}
body .product-views-counter .view-counter-text,
body .product-views-counter .view-counter-icon {
color: #06b6d4 !important;
font-size: 16px !important;
text-shadow: 0 0 10px rgba(6, 182, 212, 0.8) !important;
}
Your customized version:
body .product-views-counter .view-counter-wrapper {
background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
border: 2px solid #8b5cf6 !important; /* Changed to purple */
box-shadow: 0 0 20px rgba(139, 92, 246, 0.6) !important; /* Changed to purple glow */
}
body .product-views-counter .view-counter-text,
body .product-views-counter .view-counter-icon {
color: #8b5cf6 !important; /* Changed to purple */
font-size: 16px; /* Removed !important - UI size picker works */
text-shadow: 0 0 10px rgba(139, 92, 246, 0.8) !important; /* Changed to purple shadow */
}
Result:
- ✅ Neon effect changed from cyan (#06b6d4) to purple (#8b5cf6) manually
- ✅ Icon/text size picker in UI now works (removed
!importantfromfont-size) - ✅ Glow effects stay locked to CSS (kept
!importanton shadows and borders)
🎨 Combining Multiple Templates
You can mix and match code from multiple templates:
- Copy the background and border from “Golden Frame”
- Copy the text shadow from “Neon Glow”
- Copy the animation from “Bounce In”
- Paste all three code blocks into Custom CSS
- The counter combines all effects
Tips for combining:
- If two templates style the same property (e.g., both set
background), the last one in the CSS wins - Order templates intentionally: base styling first, animations last
- Watch for conflicting colors—you may need to manually adjust hex codes for harmony
🚀 Category Highlights & Recommendations
Best Beginner Templates (🌱 Beginner Tab)
- “Simple White Box” — Clean, minimal, works with any theme
- “Soft Blue Gradient” — Friendly, approachable, safe choice
- “Classic Border” — Traditional framed counter
Most Eye-Catching (🎬 Animations Tab)
- “Fade In Slide Up” — Elegant entrance animation
- “Continuous Pulse” — Grabs attention without being annoying
- “Bounce In” — Playful, energetic first impression
Best for Luxury Brands (💎 Luxury Tab)
- “Zen Garden” — Japanese minimalism
- “Swiss Precision” — Ultra-clean, maximum restraint
- “Parisian Chic” — Sophisticated typography focus
Most Complex/Impressive (👑 Elite Premium Tab)
- “Liquid Gold Frame” — Animated golden border
- “Comet Trail” — Traveling light effect around border
- “Holographic Shimmer” — Color-shifting rainbow background
⚠️ Common Issues & Solutions
| Issue | Solution |
|---|---|
| Icon doesn’t appear after pasting template | CSS cannot create icons. Go to Styling tab → Icon Library → Select library and icon name manually. See the yellow icon bar in the template for which icon to select. |
| UI pickers don’t change anything | The template has !important flags blocking UI controls. Either: (1) Remove !important from specific CSS properties you want to control via UI, or (2) Edit the CSS values directly in the Custom CSS textarea. |
| Animation doesn’t play | Ensure you copied the entire code block including @keyframes sections. Templates with animations include both the animation definition and the application—you need both. |
| Counter looks different on my site than in preview | Your theme may have conflicting CSS. Add more specificity to your custom CSS by duplicating body at the start: body body .product-views-counter. Or contact support if conflicts persist. |
| Want to change icon position (left/right) | Either: (1) Use the Icon Position dropdown in Styling tab (if no CSS sets flex-direction with !important), or (2) Find flex-direction: row in CSS and change to row-reverse (icon right) or column (icon above). |
| Hover effect doesn’t work on mobile | Expected behavior—mobile devices don’t have hover. Hover effects only work with mouse/trackpad input. The counter will still display on mobile, just without the hover interaction. |
🎯 Final Thoughts
The CSS Gallery gives you instant access to professional designs that would take hours to build from scratch. Start with templates that match your brand aesthetic, customize them with confidence using the techniques in this article, and remember: new templates are added constantly—check back regularly for fresh inspiration!