WhoKnew Views™ | Mobile Font & Icon Sizes

Skip to main content
Table of Contents
Print

Why smaller text and icons keep your mobile counters sharp, readable, and perfectly proportioned on any device

The Mobile Font & Icon Sizes settings allow you to shrink or enlarge your counter’s text and icon specifically for smaller screens—automatically. While your desktop view might show a bold 15px font with a 12px eye icon, mobile devices often need smaller, more compact proportions to avoid overcrowding or blocking product images.

This article explains how Icon Size (Small Screens, px) and Font Size (Small Screens, px) work in tandem with your Breakpoint to create seamless, device-aware sizing. You’ll learn why mobile sizes matter, how to choose ideal pixel values, and how to test your counter on real devices.


📐 Why Separate Mobile Sizes?

Desktop and mobile screens have wildly different dimensions and pixel densities. A counter that looks perfect on a 1920px monitor might appear gigantic or illegible on a 375px phone. Separate mobile sizing solves this by:

  • 🔍 Maintaining readability – Smaller text prevents text wrapping or truncation on narrow screens
  • 🖼️ Preserving product visibility – Compact counters don’t obstruct product images or “Add to Cart” buttons
  • ⚡ Improving load times – Smaller icons and fonts render faster on mobile connections
  • 🎨 Matching mobile UI conventions – Mobile users expect denser, space-efficient layouts

Think of it this way: your desktop counter is a billboard, while your mobile counter is a bumper sticker. Same message, different canvas.


📱 The Two Mobile Sizing Fields

1️⃣ Icon Size (Small Screens, px)

This field controls the pixel size of your eye icon (or any chosen icon) below the breakpoint. It directly maps to font-size for the icon element, which scales the icon proportionally.

Icon Size (Small Screens)Best ForVisual Result
8pxUltra-compact counters on tiny phonesMinimalist, barely-there icon (use with caution)
10pxSmall, subtle mobile countersDiscreet icon that doesn’t dominate layout
12px (default)Balanced mobile sizing for most storesClear icon without overwhelming product images
14-16pxSlightly larger mobile counters for visibilityMore prominent, suitable for minimalist designs
18px+Bold mobile counters (rare, use sparingly)Dominates mobile layout (may feel intrusive)

💡 Pro Tip: Match Your Mobile UI

If your theme uses smaller buttons or text on mobile, reduce your icon size to match. A 12px icon pairs beautifully with 10-12px mobile body text. Test on your actual product pages to ensure visual harmony.

2️⃣ Font Size (Small Screens, px)

This field controls the pixel size of your counter text (e.g., “42 views in 48 hours”) on small screens. It applies to the .view-counter-text element and kicks in below your breakpoint.

Font Size (Small Screens)Best ForReadability Notes
8-9pxUltra-compact counters (not recommended)❌ Too small for most users to read
10pxMinimalist, space-saving counters⚠️ Legible but requires good contrast
11-12px (recommended)Balanced mobile sizing for most stores✅ Clear readability on all devices
13-14pxLarger mobile counters for visibility✅ Excellent for older audiences or bold designs
15px+Desktop-sized text on mobile (rarely ideal)⚠️ May wrap to multiple lines or crowd layout

Rule of thumb: Your mobile font size should be 2-3px smaller than your desktop font size. If your desktop counter uses 15px text, try 12-13px for mobile. This maintains proportionality while conserving screen space.


🔗 How Breakpoint, Width, and Sizing Work Together

Mobile font and icon sizes don’t exist in isolation—they’re part of a responsive trio:

  1. Breakpoint (px) – The screen width where mobile styles activate (e.g., 768px)
  2. Width (Small Screens, %) – The counter’s container width on mobile (e.g., 40%)
  3. Font/Icon Size (Small Screens) – The actual text and icon pixel sizes (e.g., 12px)

When a user’s screen drops below your Breakpoint, WhoKnew Views™ applies your “Small Screens” values automatically via a CSS media query:

@media (max-width: 768px) {
    .view-counter-icon-wrapper {
        width: 12px;  /* Icon Size (Small Screens) */
        height: 12px;
    }
    .view-counter-icon {
        font-size: 12px !important; /* Icon Size (Small Screens) */
    }
    .view-counter-text {
        font-size: 12px !important; /* Font Size (Small Screens) */
    }
    .product-views-counter {
        width: 40%; /* Width (Small Screens) */
    }
}

This means you configure sizing once in the Styling tab, and WhoKnew Views™ handles all device detection for you. No manual CSS required!


🛠️ How to Configure Mobile Font & Icon Sizes

Step 1: Set Your Desktop Sizes First

Before configuring mobile sizes, finalize your desktop counter appearance:

  • Set Icon Size (Default, px) (e.g., 12px for subtle, 16px for bold)
  • Set Font Size (Default, px) (e.g., 15px for readable, 18px for prominent)

Your mobile sizes should be proportionally smaller than these desktop values.

Step 2: Navigate to Text & Icon Styling

  1. Go to WhoKnew → WhoKnew Views → Styling tab
  2. Expand the 📝 Text Styling accordion
  3. Locate Font Size (Small Screens, px)
  4. Expand the 🎨 Icon Styling accordion
  5. Locate Icon Size (Small Screens, px)

Step 3: Enter Your Mobile Pixel Values

Recommended starting points:

Desktop Font SizeMobile Font SizeDesktop Icon SizeMobile Icon Size
13px (compact)10-11px10px8-9px
15px (standard)12-13px12px10-11px
17px (bold)13-14px14px12px
20px+ (oversized)15-16px16px+13-14px

Step 4: Test on Real Devices

Browser DevTools are helpful, but nothing beats real device testing. Check your counter on:

  • 📱 iPhone SE (375px) – The narrowest common phone
  • 📱 iPhone 12/13 (390px) – Mid-range mobile
  • 📱 iPhone 14 Pro Max (430px) – Large phones
  • 📟 iPad Mini (768px) – Tablet breakpoint edge case

If text wraps, reduce Font Size (Small Screens) by 1-2px. If the icon looks cramped, shrink it proportionally.

⚠️ Common Mistake: Forgetting to Test Below the Breakpoint

If your Breakpoint is 768px, test on screens 767px and below. Desktop sizes apply at 769px+, mobile sizes at 767px and below. A 768px screen (like iPad Mini) may show either size depending on how your browser rounds viewport width. Always test at 375px (phone) for true mobile sizing.


🎨 Design Scenarios & Examples

Scenario 1: Minimalist Mobile Counter

Goal: Ultra-compact counter that stays out of the way on phones.

SettingValueWhy?
Font Size (Default)15pxReadable on desktop
Font Size (Small Screens)10pxCompact on mobile
Icon Size (Default)12pxBalanced desktop icon
Icon Size (Small Screens)9pxTiny, unobtrusive mobile icon
Width (Small Screens)35%Narrow mobile container

Result: A subtle counter that mobile users can see but won’t dominate product images.

Scenario 2: Bold Mobile Counter for High-Traffic Products

Goal: Prominent social proof that mobile shoppers can’t miss.

SettingValueWhy?
Font Size (Default)18pxBold desktop text
Font Size (Small Screens)14pxStill prominent on mobile
Icon Size (Default)16pxLarge desktop icon
Icon Size (Small Screens)13pxVisible mobile icon
Width (Small Screens)50%Half-screen mobile counter
Text Color#e74c3c (red)High-contrast urgency color

Result: A counter that screams “popular product!” on mobile, ideal for high-converting items or flash sales.

Scenario 3: Matching Mobile Theme Typography

Goal: Counter font sizes that blend seamlessly with your theme’s mobile body text.

  1. Check your theme’s mobile body text size (usually 14-16px)
  2. Set Font Size (Small Screens) to 1-2px smaller than body text
  3. If body text is 14px, use 12-13px for counter text
  4. Match Font Family to your theme’s font (e.g., Roboto, Open Sans)

Result: The counter feels native to your theme, not like a bolted-on plugin.


🔍 Technical: How Mobile Sizing is Applied

WhoKnew Views™ uses CSS media queries to apply mobile sizes. Here’s what happens behind the scenes:

1. Desktop Styles (Above Breakpoint)
.view-counter-icon {
    font-size: 12px; /* Icon Size (Default, px) */
}
.view-counter-text {
    font-size: 15px; /* Font Size (Default, px) */
}
2. Mobile Styles (Below Breakpoint)
@media (max-width: 768px) {
    .view-counter-icon-wrapper {
        width: 10px;  /* Icon Size (Small Screens) */
        height: 10px;
    }
    .view-counter-icon {
        font-size: 10px !important; /* Icon Size (Small Screens) */
    }
    .view-counter-text {
        font-size: 12px !important; /* Font Size (Small Screens) */
    }
}

The !important flags ensure mobile sizes override desktop styles below the breakpoint. Icon wrapper dimensions match icon font size to prevent clipping or overflow.

Why Icon Wrapper Size Matters

The .view-counter-icon-wrapper is a container element that holds your icon. Its width and height must match your icon’s font-size to prevent visual glitches:

  • If wrapper is too small: Icon gets clipped or cut off
  • If wrapper is too large: Excess whitespace around icon, misaligned layout
  • If sizes match: Pixel-perfect icon rendering ✅

WhoKnew Views™ syncs these automatically—you just set the icon size, and the wrapper adjusts.


🚀 Advanced Tips & Best Practices

1. Use Even Pixel Values

Stick to even numbers (10px, 12px, 14px) for sharper rendering. Odd pixel sizes (11px, 13px) can cause subpixel rendering issues on some devices, especially for icons.

2. Test With Your Longest Text

If your counter shows "124 views in 48 hours" (long), test mobile sizing with that text. Short text like "5 views" won’t reveal wrapping issues.

3. Consider High-DPI Screens

Modern phones have 2x or 3x pixel density (Retina displays). A 12px font on a 3x screen renders at 36 physical pixels, so smaller sizes still look crisp. Don’t be afraid to go down to 10-11px on mobile.

4. Match Icon and Text Size Proportions

Your icon should be slightly smaller than your text for visual balance:

  • If text is 15px, icon should be 12-13px
  • If text is 12px, icon should be 10-11px
  • Never make icons larger than text—it looks unbalanced

5. Use Custom CSS for Ultra-Specific Sizing

If you need different mobile sizes for specific products, use Custom CSS with per-product targeting:

/* Smaller counter for product ID 123 on mobile */
.postid-123 @media (max-width: 768px) {
    .view-counter-text {
        font-size: 10px !important;
    }
    .view-counter-icon {
        font-size: 9px !important;
    }
}

Learn more in the Custom CSS article.


🐛 Troubleshooting Mobile Sizing Issues

Issue 1: “My mobile sizes aren’t applying”

Causes & Fixes:

  1. Breakpoint too low – If your breakpoint is 500px, but you’re testing on a 768px tablet, you’re still seeing desktop sizes. Raise breakpoint to 768px or higher.
  2. Browser cache – Hard refresh (Ctrl+Shift+R / Cmd+Shift+R) or clear cache and reload.
  3. Custom CSS override – Check your Custom CSS box for rules that might override mobile sizing with !important.
  4. Theme CSS conflict – Some themes force font sizes on all elements. Use browser DevTools to inspect .view-counter-text and check which CSS rule is winning.

Issue 2: “Icon looks blurry on mobile”

Causes & Fixes:

  • Non-integer font size – Avoid decimal sizes like 10.5px. Use whole numbers (10px, 11px).
  • Icon library doesn’t support small sizes – Some icon fonts look fuzzy below 10px. Try a different icon library (Ion Icons work well at small sizes).
  • Browser zoom – If user has browser zoom enabled, icons may render at odd sizes. This is unavoidable but rare.

Issue 3: “Text wraps to multiple lines on small phones”

Causes & Fixes:

  1. Font size too large for container width – Reduce Font Size (Small Screens) by 1-2px.
  2. Width (Small Screens) too narrow – Increase Width (Small Screens, %) to give text more horizontal space.
  3. Text too long – Shorten your Display Text (e.g., change "views in last 48 hours" to "views"). See Customizing Your Counter Text article.

✅ Quick Checklist: Configuring Mobile Sizes

  • ✅ Set desktop font and icon sizes first (baseline)
  • ✅ Reduce mobile font size by 2-3px from desktop size
  • ✅ Reduce mobile icon size proportionally (keep icon smaller than text)
  • ✅ Test on real devices: iPhone SE (375px), iPhone 12 (390px), iPad Mini (768px)
  • ✅ Verify text doesn’t wrap or truncate on smallest screen (375px)
  • ✅ Check icon rendering for fuzziness or pixelation
  • ✅ Ensure mobile counter doesn’t overlap “Add to Cart” button or product images
  • ✅ Match font family and weight to your theme’s mobile typography
  • ✅ Use even pixel values (10, 12, 14) for sharper rendering
  • ✅ Confirm breakpoint is high enough to trigger mobile styles (768px recommended)

Share