Forums

favicon messed up whole theme (2 posts)

  1. seanwp_10
    Member
    Posted 10 months ago #

    hey guys..i have installed a favicon to my wordpress site but the whole theme got messed up
    i am currently using 2011 and i dont know what to do..i am quite new to this. i followed the instructions in codex and my favicon is looking good. but theme got messedup
    http://sean.x10.bz/2011/07/hello-world/
    this is the result after messing with the theme

  2. alchymyth
    The Sweeper
    Posted 10 months ago #

    it seems as if you have copied header.php of a different theme (the 'old' default theme kubrick) to replace the header.php template of twenty eleven.

    find a new copy of header.php of twenty eleven (for instance, download the theme http://wordpress.org/extend/themes/twentyeleven to your computer, unzip it, and extract header.php); and replace header.php;
    then simply add the favicon line:

    <link rel="shortcut icon" href="http://sean.x10.bz/wp-content/themes/twentyeleven/favicon.ico" />

    into the header.php of twenty eleven.

    btw:
    strongly consider to create a child theme http://codex.wordpress.org/Child_Themes of twenty eleven; it is essential to keep an unedited copy of twenty eleven in the theme folder, as it is the 'fallback' theme in case of any problems.

Reply

You must log in to post.

About this Topic

Tags