On this page
What this issue is
An icon button shows a small picture instead of (or beside) words. The picture usually comes from one of three sources: an icon font (such as Font Awesome), an inline or linked SVG (a vector image), or an image file. If that source fails, the button stays on the page but the picture is gone.
This is different from icons showing as squares or question marks (see the related icon font guide). Here the space is simply empty, or the button collapses to a tiny sliver. The button still exists in the code, so nothing looks like an error to the page owner.
Why it costs you leads or sales
Icon-only buttons often carry important actions: add to cart, open the menu, call, start a chat, submit a search. If visitors cannot see what the button does, many will not tap it. The call to action is there, but nobody finds it.
The problem is easy to miss because it often depends on the browser, the network or a consent setting. Your own browser may have the font cached, while new visitors on mobile or behind an ad blocker see blanks.
- Visitor lands on pagePage loads normally
- Icon file requestedFont or SVG is blocked, missing or slow
- Button looks blankNo picture, no text
- Visitor taps the buttonMost do not know it is there
- Cart, call or chat opensNever reached
The icon file fails, the button looks empty, and the steps after it are never reached.
Example: illustrative numbers showing how a visible icon and label can change how often a button is used.
How to check if your site has it
Open the page in a private window
This avoids cached fonts and logged-in extras. Look at every button and link that should have an icon, on desktop and on a phone.
Open DevTools and reload
In Chrome, press F12, open the Network tab, filter by Font and Img, and reload. Look for red rows (404, blocked, CORS error).
Check the Console
Errors such as 'blocked by CORS policy', 'Failed to load resource' or a script error often point to the missing icon source.
Inspect the empty button
Right-click it, choose Inspect. Check whether the icon element exists, whether it has a width and height, and whether CSS sets display:none, opacity:0 or font-size:0.
Test with extensions and consent off
Try an ad blocker, a strict privacy browser and a mobile connection. Some tools block icon CDNs or scripts that inject SVGs.
| Cause | What you see | Typical fix |
|---|---|---|
| Icon font file 404 | Red font row in Network | Fix the file path or re-upload the font |
| CORS blocked font | Console: blocked by CORS policy | Add Access-Control-Allow-Origin on the font host |
| CDN blocked or down | Request to the CDN fails | Self-host the icon files |
| SVG sprite missing | <use> points to a missing id | Fix the sprite path and id |
| CSS hides the icon | Element present but zero size | Remove the rule or set a size |
| JavaScript did not run | Empty <i> or <span> placeholder | Fix the script error or use inline SVG |
How to fix it
Fix the failing file
Correct the 404 path, re-upload the font or SVG, or add the right CORS header if the file is served from another domain.
Prefer inline SVG for key buttons
Inline SVG lives in the page HTML, so it does not depend on a separate font request or script.
Add a visible text label
For important actions such as checkout or call, show words next to the icon. If the icon fails, the button still makes sense.
Add an accessible name
Give icon-only buttons an aria-label so screen readers and tools can name them.
Set a minimum size
Give the button padding and a min-width so it does not collapse if the icon is missing.
<button type="button" class="cart-btn" aria-label="Open cart">
<svg width="20" height="20" viewBox="0 0 24 24" aria-hidden="true" focusable="false">
<path fill="currentColor" d="M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM3 2v2h2l3.6 7.6-1.4 2.4A2 2 0 0 0 9 17h11v-2H9.4l1.1-2h7.5a2 2 0 0 0 1.7-1l3.6-6.5L21.5 4H6.2l-.9-2H3Z"/>
</svg>
<span class="cart-btn__text">Cart</span>
</button>.cart-btn {
display: inline-flex;
align-items: center;
gap: 8px;
min-width: 44px;
min-height: 44px;
padding: 8px 12px;
}Check the icon plugin or theme setting
If you use Font Awesome or a theme icon library, check its settings for the loading method (for example, a CDN or a local file). Switch to a local or SVG option if available.
Clear caches and optimisation
Purge your cache plugin and test with 'delay JavaScript' and 'remove unused CSS' options off. These can strip icon CSS or scripts.
Add labels in your builder
In Elementor, Divi or the block editor, add a text label to the button next to the icon.
Check theme icon snippets
In Online Store, Themes, Edit code, look for icon snippets or sprite files in Snippets and Assets. Confirm the icon name used in the button exists.
Review recently installed apps
Apps can inject CSS that hides or overrides icons. Disable one at a time in a preview theme to find the cause.
Add an aria-label
Edit the button in the theme Liquid file and add aria-label and a visible text label.
Check tags that inject CSS or HTML
Custom HTML tags can hide or replace elements. In Preview mode, disable suspect tags and see whether the icon returns.
Do not load icon libraries from GTM
Icons that depend on a tag firing will vanish when consent or a blocker stops it. Load them in the page or theme instead.
Check the icon source
If you use an embedded icon font, confirm the file is uploaded in Project settings, Fonts, or the custom code. Prefer SVG assets or embedded SVG.
Set size on the icon element
Give the icon a fixed width and height in the Style panel so it does not collapse to zero.
Check the button element
In the funnel or website builder, open the button settings and confirm the icon is selected and visible on desktop and mobile views.
Check custom code blocks
If you load an icon library in the custom code or header tracking section, confirm the link is correct and not blocked.
Re-select the icon
In the Wix Editor, select the button, open Settings, then Icon, and choose the icon again. Add button text if possible.
Check mobile view
Switch to the mobile editor and confirm the icon is not hidden or set too small.
Check Custom CSS
Under Website, Custom CSS, look for rules that hide icons or set font-size to 0 on buttons.
Check code injection
Under Settings, Developer Tools, Code Injection, confirm any icon library link still loads.
Self-host icons
Serve fonts or SVGs from your own domain and add the correct Access-Control-Allow-Origin header if another domain loads them.
Use inline SVG for critical buttons
Put the SVG markup in the HTML, with a text label or aria-label.
Before
- Icon comes from a CDN font
- No text label
- No minimum size
- Empty box if the font is blocked
After
- Inline SVG in the page
- Visible text label
- Minimum size and padding
- aria-label for screen readers
How to confirm it's fixed
- Reload in a private window and see every icon on desktop and mobile
- No red font, SVG or image rows in the Network tab
- No icon-related errors in the Console
- Buttons stay readable with an ad blocker on
- Buttons still make sense with the icon hidden (text label present)
- Click each button and confirm it does its job
How to prevent it happening again
- Self-host icon fonts and SVGs rather than depending on a third-party CDN
- Use inline SVG for critical call-to-action buttons
- Always pair key icons with a text label and an aria-label
- Re-check buttons after theme, plugin or app updates and after changing caching or minify settings
- Test on a real phone and in a private window after each release
- Keep a short list of your key buttons and review it monthly
How FunnelGuard handles this
FunnelGuard does not check for missing button icons today. It is a possible future check, not a current feature.
What FunnelGuard does do is run your real customer journeys with a robot visitor on a schedule, from the EU or the US. It checks each step, the tracking hits sent to ad and analytics platforms, and whether test leads reach the inbox and CRM. If a button in a journey cannot be found or clicked, that step can fail and you get one alert with a screenshot and a likely cause. That covers broken journeys, but it does not tell you that an icon looks wrong.
To watch for blank icons yourself, add your key pages to a monthly visual review on desktop and mobile, and use your browser's DevTools Network tab to look for failed font and image requests. A free FunnelGuard plan (1 site, 2 journeys, daily checks, no card) can still watch the journeys that matter most while you do this.
Visual summary
The button is on the page, but visitors cannot see what it does, so the action is missed.
Questions people ask
Why are the icons not showing on my buttons?
Usually the icon font or SVG file failed to load. Common reasons are a wrong file path (404), a CORS error, a blocked CDN, a script that did not run, or CSS hiding the icon. Open DevTools, check the Network and Console tabs, and inspect the empty button to see which one applies.
How do I fix a blank button with no icon?
Restore the failing icon file or switch to an inline SVG, then add a visible text label and an aria-label. Give the button a minimum width and height so it does not collapse. Test in a private window on desktop and mobile.
Why do icons show on my computer but not for visitors?
Your browser may have the font cached, while new visitors download it fresh. Ad blockers, privacy settings, slow mobile networks and cross-domain CORS rules can also block icon files for some people. Test in a private window and on a phone.
Why did my icons disappear after a plugin or theme update?
An update can change file paths, rename icon classes or add CSS that hides them. Caching and minify settings can also strip icon CSS. Clear caches, check the Network tab for failed requests, and disable recent plugins one at a time.
Should I use an icon font or SVG for buttons?
Inline SVG is more reliable for important buttons because it sits in the page and needs no extra font request. Icon fonts work, but they can fail when the font file is blocked or misconfigured. Either way, add a text label for key actions.
Are icon-only buttons bad for accessibility?
They can be, if they have no accessible name. Add an aria-label or visually hidden text so screen readers announce what the button does. Mark the decorative SVG itself with aria-hidden="true".
Does FunnelGuard detect missing icons on buttons?
No. FunnelGuard does not check for missing icons yet; it is a possible future check. It does run your real journeys on a schedule and alerts you if a step fails, so a button that cannot be found or clicked in a journey can show up that way.
Related issues
- PRF-095Icon font fails so icons render as squares/tofuFix guide
- PRF-090Font file fails to load (404/CORS) falling back to system fontFix guide
- PRF-097Google Fonts loaded from Google without consent (GDPR issue)Fix guide
- PRF-094Too many font weights/families loaded (8+ files)Fix guide
- PRF-093No font-display: swap on web fontsFix guide
- PRF-091FOIT: text invisible for seconds while fonts loadFix guide