| Marah Marie ( @ 2008-10-28 13:55:00 |
| Entry tags: | favicon, tutorial |
[paid] Really Simple Tutorial: Adding a Favicon in s2 Bloggish
This tutorial is in response to questions to me this morning from
orexisbella about how to add a favicon to your journal in s2 Bloggish.
- Follow Carrie's instructions for creating a theme layer.
- If you're only using your custom theme layer to add a favicon, the following code is all you need for it display correctly:
layerinfo "type" = "theme"; layerinfo "name" = "My Peppermint Star"; set base_theme = "__none"; *(see note below) function Page::print_custom_head(){""" <link rel="shortcut icon" href="http://www.oogletoogle.com/files/x0r1ucw78rjubasjl5qh.ico" /> """;} - When you're done adding the above code to your theme layer hit the "Save & Compile" button, make sure your code "compiled without errors", then refresh your journal to make sure your favicon shows up.
If you're only using your custom theme layer to add a favicon you can copy and paste the code above in it's entirety into your theme layer, then just change the layer info name and the URL so it points to your own favicon.
oogletoogle.com hosts favicons for free and is the easiest web host by far to use for hosting them. Bravehost and Ripway also offer free web space with favicon hosting.
*Note If your custom CSS calls for Bloggish "Unstyled", you will set your base theme to "__none". Otherwise you will remove this entire line of code before you compile [more specific info here].