Quantcast
Channel: MyBB Community Forums - Tutorials
Viewing all articles
Browse latest Browse all 690

Add favicon to your forum. Favicon provided, FontAwesome favicon generator links too!

$
0
0
Simple solution for those who have asked or are planning to ask how to add a favicon to their forum.

Add to headerinclude:

Code:
<!-- 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:

Code:
<!-- 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:


Code:
<!-- 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

.zip   Upload.zip (Size: 1.1 KB / Downloads: 2)

Viewing all articles
Browse latest Browse all 690

Trending Articles