Technical·Lovable
TechnicalLovable

Add a high-resolution faviconLovable

Google now shows favicons next to mobile search results. A missing or blurry favicon looks amateur next to competitors and drops CTR.

rocket_launch

Fixing this in Lovable

AI full-stack app builder (React + Vite + Supabase)

Drop the favicon files in `public/` and link them in `index.html` <head>.

Using a different tool? Pick your stack:

The prompt for Lovable

Copy and paste this into your Lovable chat exactly as-is.

Fix my Lovable app — please make these exact changes in the Lovable editor:

Add a favicon

1. Add a favicon.ico file to /public/.
2. Also add <link rel="icon" href="/favicon.ico"> in <head>.

Why this matters

Google SERP on mobile shows a favicon next to each result. No favicon = a generic globe icon, which looks untrustworthy next to branded competitors.

Browsers show the favicon in the tab. Without one, users see a blank sheet, and bookmarks have no visual identifier — harder to re-find your site.

How to use this prompt in Lovable

  1. 1. Open your Lovable project.
  2. 2. Copy the prompt above with the copy button.
  3. 3. Paste into the Lovable chat and send.
  4. 4. Review the diff, accept the changes, redeploy.
  5. 5. Verify the fix using the checklist below.

Common mistakes to avoid

  • error_outlineShipping only a 16×16 favicon — looks blurry on Retina displays and in Google SERP.
  • error_outlineUsing a photo as favicon — does not read at small sizes.
  • error_outlineForgetting the Apple touch icon (180×180) — iOS home-screen icon falls back to a scaled-down version.

How to verify the fix worked

  • check_circleCheck `favicon.ico` at the root returns 200.
  • check_circleGoogle SERP (site:yoursite.com on mobile) shows your favicon, not the globe.
  • check_circleBookmark the page and check the bookmark icon is correct.

Frequently asked questions

ICO or PNG?expand_more
Both. Keep a classic `favicon.ico` (16+32+48) at the root for legacy, plus PNGs for modern browsers and Apple touch.
When does Google show favicons?expand_more
Mobile SERP, since 2019. Desktop shows them in some contexts. Either way, have one.

Want all 34 prompts tailored to your Lovable site?

Pantra scans your site in 10 seconds, detects the stack, and generates the exact prompts that apply — only the ones you actually need.

Scan my site

Related Lovable prompts