Closed boldc closed 2 years ago
I'm trying to add favicons generated by RealFaviconGenerator.com to my Joomla template. I have the following in my template's index.php file in the
<link rel="manifest" href="/site.webmanifest" crossorigin="use-credentials"> <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"> <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"> <meta name="msapplication-TileColor" content="#da532c"> <meta name="theme-color" content="#ffffff">
And the favicon images are in the root folder of my template. When inspecting my website in Chrome, I recieve the following error:
Failed to load resource: the server responded with a status of 404 () Manifest: Line: 1, column: 1, Syntax error.
Here is the content of the site.manifest file:
{ "name": "", "short_name": "", "icons": [ { "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, { "src": "/android-chrome-256x256.png", "sizes": "256x256", "type": "image/png" } ], "theme_color": "#ffffff", "background_color": "#ffffff", "display": "standalone" }
UPDATE: user error. site.manifest had not been placed in correct location
I'm trying to add favicons generated by RealFaviconGenerator.com to my Joomla template. I have the following in my template's index.php file in the
section:And the favicon images are in the root folder of my template. When inspecting my website in Chrome, I recieve the following error:
Failed to load resource: the server responded with a status of 404 () Manifest: Line: 1, column: 1, Syntax error.
Here is the content of the site.manifest file:
{ "name": "", "short_name": "", "icons": [ { "src": "/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, { "src": "/android-chrome-256x256.png", "sizes": "256x256", "type": "image/png" } ], "theme_color": "#ffffff", "background_color": "#ffffff", "display": "standalone" }
UPDATE: user error. site.manifest had not been placed in correct location