WhoKnew Views™ | Styling Not Applying

Skip to main content
Table of Contents
Print

Diagnose why your view counter styling changes aren’t appearing on the live site and fix common issues

You’ve customized your view counter’s appearance in the Styling tab—new colors, a different icon, adjusted positioning—and it looks great in the preview. But when you visit your live product page… nothing changed. Here’s how to fix it.

⚡ Most Common Cause: You haven’t clicked a Save button. The live preview updates in real-time, but changes are NOT applied to your live site until you save.


🔍 The 8-Point Styling Diagnostic

1

Did You Click “Save to All Products”?

The live preview is temporary. It only shows how settings would look. You must save to apply changes to the live site.

✅ Fix: Scroll down to the four buttons at the bottom of the Styling tab and click:
Save to All Products

2

Are You Using “Save to This Product” Instead?

The Save to This Product button only applies styling to the currently selected preview product—not sitewide.

✅ Check: If you want consistent styling across all products, use “Save to All Products” instead

3

Is “Lock Styling Settings” Checked?

This setting (🔒) is a protection mechanism—it prevents styling from being overwritten during resets. It does NOT prevent saving new styles, but if you previously reset and had this checked, your old styling may have persisted unexpectedly.

✅ Check:WhoKnew Views → Styling → General Settings section → “Lock Styling Settings”
This lock doesn’t block saves—it only protects during “Reset to Factory Defaults”

4

Have You Cleared Your Cache?

Page caching plugins, CDNs, and browser caching can serve old CSS. Even after saving, you might see the old styling until caches are purged.

✅ Fix: Clear all caches (plugin cache, CDN, browser) → Test in incognito/private window

5

Does the Product Have Custom Settings Enabled?

PRO If a product has “Use Custom Product Settings” enabled in its meta box, it may override global styling with product-specific values.

✅ Check: Edit the product → Scroll to “WhoKnew Views™ Pro” meta box → Check if custom settings toggle is ON
Or use the Products tab to see which products have custom settings enabled

6

Is Custom CSS Conflicting?

If you’ve added Custom CSS at the bottom of the Styling tab with !important declarations, those rules may override the visual settings above.

✅ Check: Scroll to the “Custom CSS” section → Review any custom rules
Temporarily clear Custom CSS field to test if that’s the conflict source

7

Did You Check the Right Product?

The preview shows one specific product. If you’re checking a different product on the live site, ensure it’s using global settings (not custom overrides).

✅ Fix: Use the product dropdown/search in the Styling tab to preview the exact product you’re testing

8

Is There a JavaScript Error?

A JavaScript error from another plugin can prevent the save action from completing. Check your browser’s console for red error messages.

✅ Check: Open DevTools (F12) → Console tab → Look for errors when clicking Save
If errors appear, try deactivating other plugins to isolate the conflict


🎯 Understanding the Four Save Buttons

The Styling tab has four distinct buttons at the bottom—each does something different:

ButtonWhat It DoesWhen to Use
Save to All ProductsApplies current styling as the global default for all productsStandard save—use this most of the time
Save to This ProductSaves styling only for the preview product (creates product-specific override)When one product needs unique styling
Reset This Product to GlobalRemoves product-specific overrides, reverts to global stylingWhen a product’s custom styling is no longer needed
Reset to Factory DefaultsResets ALL styling to plugin defaults (unless “Lock Styling Settings” is checked)Starting fresh or troubleshooting

🚨 Important: The red text beneath the buttons says it clearly: “SETTINGS MUST BE SAVED IN ORDER TO BE APPLIED TO THE LIVE SITE.” The preview is for visualization only—nothing changes on the live store until you click a save button.


🔧 Preview Mode vs Live Site

Understanding this distinction is key to avoiding confusion:

🖼️ Live Preview (Admin)

  • Updates instantly as you change settings
  • Loads in an iframe with ?wkv_preview=1 parameter
  • Uses temporary session storage
  • Only visible to logged-in admins
  • Resets if you leave the page without saving

🌐 Live Site (Frontend)

  • Uses saved settings from database
  • Loads from whoknew_views_settings option
  • Visible to all visitors
  • Persists until you save new settings
  • May be cached by page cache/CDN

📋 Quick Fixes Checklist

  1. ✅ Click “Save to All Products” after making changes
  2. ✅ Clear all caches (plugin, CDN, browser)
  3. ✅ Test in incognito/private browsing mode
  4. ✅ Verify the product doesn’t have custom settings overriding globals
  5. ✅ Check Custom CSS section for conflicting !important rules
  6. ✅ Look for JavaScript errors in browser console
  7. ✅ Try a different browser to rule out browser-specific caching

💡 Pro Tips

✅ Verify Save Success: After clicking “Save to All Products,” you should see a brief confirmation or the button may flash. If nothing happens, check the browser console for errors.

💡 Test Before and After: Open your product page in one tab, make styling changes and save in another, then hard-refresh (Ctrl+Shift+R / Cmd+Shift+R) the product page to see the update.

⚠️ Position Issues: If position settings aren’t applying, check that you’re using Absolute or Fixed position—Relative position ignores top/bottom/left/right values.

If you’ve worked through all these checks and styling still isn’t applying, generate a System Info Report from the Admin tab and contact support with the details.

Share