Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.8] Add favicon to your forum. Favicon provided, FontAwesome favicon generator links too!
#1
Information 
Simple solution for those who have asked or are planning to ask how to add a favicon to their forum.

Add to headerinclude:

<!-- Add Favicon -->
<link rel="Shortcut icon" href="{$theme['imgdir']}/favicon.ico" />


Download Upload.zip below and extract it and there is a folder called images with an icon called favicon.ico...., put that image in your forums images or themes directory..

example: yourforum/images/favicon.ico

If you want a different favicon and don't have the ability to make one yourself, you could always try something simple like:

https://paulferrett.com/fontawesome-favicon/  * to generate say a font-awesome 4.7 based favicon

And you would modify the headerinclude to reflect the icon name change for example:

<!-- Add Favicon -->
<link rel="Shortcut icon" href="{$theme['imgdir']}/favicon-comments.ico" />


Or use: https://gauger.io/fonticon/ for creating fontawesome 5 favicons with the ability to layer!

And that option keeps the image name as favicon.ico  so this would still work without modification in headerinclude:


<!-- Add Favicon -->
<link rel="Shortcut icon" href="{$theme['imgdir']}/favicon.ico" />



Note: FYI, the reason linking the favicon in the theme is better than just dropping a favicon into root directory is that with linking it in the theme you can have theme specific favicons. Smile


Attached Files
.zip   Upload.zip (Size: 1.1 KB / Downloads: 33)
MyBB Themes Team - Making more professional themes by the hour. (Retired)
My Mods | Offer me a coffee!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)