Professional Typography Control for Refined Text Appearance
Overview
Fine-tune your view counter’s typography with Letter Spacing and Vertical Offset controls. Letter Spacing adjusts the horizontal space between characters, while Vertical Offset moves text up or down relative to the icon for perfect visual alignment.
Both settings support decimal precision (increments of 0.1px) for pixel-perfect adjustments and work seamlessly with all icon libraries and font families.
💡 Pro Tip: These controls are particularly useful when using all-caps text (which benefits from increased letter spacing) or when aligning text with Ion Icons (which often need a +3px vertical offset to match baseline).
Letter Spacing (px)
Letter Spacing controls the horizontal space between individual characters in your view counter text. This is measured in pixels and can be positive (to add space), zero (for default spacing), or negative (to tighten spacing).
When to Use Letter Spacing
- 📢 Uppercase Text: Add 1-2px of letter spacing to improve readability when using all-caps text
- 📏 Dense Fonts: Increase spacing for condensed or narrow font families
- 🎨 Visual Balance: Fine-tune spacing to match your site’s typography
- 🔗 Tight Spacing: Use negative values (-0.5px to -1px) for compact designs
Common Letter Spacing Values
| Value | Effect | Best For |
|---|---|---|
0px | Default browser spacing | Normal sentence-case text |
1px | Slightly opened spacing | Uppercase text, improved readability |
2px | Wide, airy spacing | Uppercase headings, luxury brands |
-0.5px | Slightly tighter | Compact designs, smaller fonts |
-1px | Noticeably condensed | Space-constrained layouts |
ℹ️ Example: For a view counter with uppercase text like “245 VIEWS IN 24 HOURS”, set Letter Spacing to 1.5px for optimal readability.
Vertical Offset (px)
Vertical Offset moves your text up or down relative to its default position. This is especially useful for aligning text perfectly with icons, which often have different baseline positions than text.
⚠️ Direction Note: Positive values move text UP, negative values move text DOWN. For example, +3 raises text by 3 pixels, while -3 lowers it by 3 pixels.
When to Use Vertical Offset
- 🎯 Icon Alignment: Match text baseline with icon center or edges
- ⚡ Ion Icons: These icons typically need +3px to align properly with default-sized text
- 🔤 Font-Specific Adjustments: Some fonts have unusual baselines that need correction
- ✨ Visual Fine-Tuning: Perfect the vertical balance of your design
Common Vertical Offset Values
| Value | Effect | Best For |
|---|---|---|
0px | Default position | Most fonts with most icon sets |
+1px to +3px | Raises text slightly | Ion Icons, aligning with icon center |
+5px | Raises text significantly | Large icons, specific design needs |
-1px to -3px | Lowers text slightly | Aligning with icon bottom edge |
-5px | Lowers text significantly | Unusual layouts, specific fonts |
✅ Ion Icons Users: If you’re using Ion Icons with default font size (15px), start with a Vertical Offset of +2.3px (at default font size). This typically provides near-perfect alignment between the icon and text baseline. Fine-tune by ±1-2px if needed.
Why Do Ion Icons Need +2.3px?
Ion Icons have a unique design where the icon sits slightly higher in its container compared to most icon libraries. When paired with text, this creates a noticeable gap where the text appears to “sink” below the icon’s visual center.
By adding +2.3px of vertical offset, you’re raising the text up to match the icon’s centerline. The result? Visual harmony and perfect alignment.
Step-by-Step: Adjusting Letter Spacing
- Navigate to WooCommerce → WhoKnew Views → Styling
- Scroll to the Text Styling section
- Locate the Letter Spacing (px) field
- Enter your desired spacing value (supports decimals like
1.5)- Use the spinner arrows to increment by 0.1px
- Or type a value directly for precise control
- Watch the live preview update automatically
- Click Save Changes when satisfied
ℹ️ Tip: For uppercase text, try starting with 1.5px letter spacing and adjust from there. The difference between 0px and 2px can be subtle but significantly impacts readability.
Step-by-Step: Adjusting Vertical Offset
- Navigate to WooCommerce → WhoKnew Views → Styling
- Scroll to the Text Styling section
- Locate the Vertical Offset (px) field
- Enter your desired offset value:
- Positive numbers (e.g.,
3) to raise text UP - Negative numbers (e.g.,
-2) to lower text DOWN - Decimals supported for precise adjustments (e.g.,
2.5)
- Positive numbers (e.g.,
- Use the spinner arrows to increment by 0.1px, or type directly
- Watch the live preview to see alignment changes
- Click Save Changes when alignment is perfect
💡 Visual Check: The easiest way to set Vertical Offset is to watch the live preview while clicking the spinner arrows. Adjust until the text visually aligns with the center (or desired position) of your icon.
Combining Letter Spacing & Vertical Offset
These two settings work together to create professional, polished typography. Here are three design examples:
Example 1: Uppercase Counter with Ion Icon
- Text Transform: UPPERCASE
- Letter Spacing:
2px(wider spacing for all-caps) - Vertical Offset:
+3px(raise text to match Ion Icon center) - Result: Clean, professional uppercase counter with perfect icon alignment
Example 2: Compact Design with Elegant Font
- Font Family: Georgia (serif)
- Letter Spacing:
-0.5px(slightly tighter for elegance) - Vertical Offset:
+1px(subtle raise for balance) - Result: Refined, space-efficient design with elegant typography
Example 3: Modern Sans-Serif with Font Awesome
- Font Family: Roboto
- Letter Spacing:
0.5px(slightly open for modern feel) - Vertical Offset:
0px(Font Awesome aligns well by default) - Result: Clean, modern counter with perfect baseline alignment
Decimal Precision
Both Letter Spacing and Vertical Offset support decimal values with 0.1px precision. This allows for incredibly fine-tuned adjustments that can make the difference between “good” and “perfect” alignment.
Using Decimal Values
Method 1: Spinner Arrows
- Click the up/down arrows on the number field
- Each click increments/decrements by 0.1px
- Perfect for making small, iterative adjustments
Method 2: Direct Input
- Click in the field and type any decimal value
- Examples:
1.5,2.7,-0.3 - Press Tab or click away to apply
ℹ️ Example: If 3px vertical offset is slightly too much but 2px is too little, try 2.5px or 2.7px for the perfect middle ground.
Troubleshooting
Letter Spacing Not Applying
Symptom: You change Letter Spacing but see no visual difference in the preview or frontend.
Possible Causes & Solutions:
- Custom CSS Override: Check if you have custom CSS with
letter-spacing !important. Remove it or adjust your custom CSS to allow the setting to work. - Very Small Values: Changes below 0.5px can be hard to see. Try a larger value like
2pxto confirm it’s working. - Monospace Font: Some monospace fonts have fixed character widths that resist letter-spacing changes.
Vertical Offset Moving Wrong Direction
Symptom: Positive values move text down instead of up (or vice versa).
Solution: Ensure you’re using the latest version of WhoKnew Views. Older versions may have had reversed direction. Current version: positive = up, negative = down.
Settings Not Saving
Symptom: Values reset to 0 after clicking Save Changes.
Possible Causes & Solutions:
- Plugin Conflict: Deactivate other plugins temporarily to identify conflicts
- Caching: Clear your site cache and browser cache
- Permissions: Ensure you have admin permissions to save settings
- Update Plugin: Update to the latest version which includes automatic default merging
Best Practices
- 🎯 Start with Defaults: Begin at
0pxfor both settings and adjust from there - 👀 Use Live Preview: Make changes and watch the preview update in real-time before committing
- 📏 Small Increments: For Vertical Offset, adjust in 1px or 0.5px increments. Large jumps (5px+) can look jarring
- 📱 Test on Different Screens: Check your view counter on desktop, tablet, and mobile after making changes
- 🎨 Match Your Brand: Letter spacing should complement your site’s overall typography style
- 📊 Consider Font Size: Larger fonts may need more letter spacing; smaller fonts need less
- ⚡ Icon Library Matters: Different icon libraries (Ion Icons, Font Awesome, etc.) have different baseline positions. Adjust Vertical Offset accordingly