Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2254

General Questions/New to Joomla! 5.x • Re: How do I permanently replace J5-favicon(s) by my self-made favicon(s)?

$
0
0
Hello A Murray,
Thank you for your answers.
I found a source of the problem:
For some reason, there was something strange in the text of index.php within the Cassiopeia folder:

$this->addHeadLink(HTMLHelper::_('image', 'joomla-favicon.svg', '', [], true, 1), 'icon', 'rel', ['type' => 'image/svg+xml']);
$this->addHeadLink(HTMLHelper::_('image', 'joomla-favicon.ico', '', [], true, 1), 'alternate icon', 'rel', ['type' => 'image/vnd.microsoft.icon']);
$this->addHeadLink(HTMLHelper::_('image', 'joomla-favicon-pinned.svg', '', [], true, 1), 'mask-icon', 'rel', ['color' => '#000']);

I do not know why/how the names had been changed to 'joomla-favicon...' in the past.
I erased "joomla-" within the 3 favicon-names.
I also deleted any 'joomla-favicon.ico' (or .svg) etc. in this folder.
In the webbrowser, I pressed Ctrl+F5 (Windows) and my version of the favicon returned in the webpage-tab of the frontend (but not in Joomla backend.)

These 3 'joomla-favicon..' versions were also present in:
..\media\system\images\
I deleted these 3 too and used my own version with 'default' names.
Thus, my favicon also showed up when working in the J5 Backend.

Though, I am afraid that this solution will not be permanent.

Friendly regards,
Sthop

Statistics: Posted by sthop — Wed Nov 06, 2024 6:42 pm



Viewing all articles
Browse latest Browse all 2254

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>