ThemeShaper Forums » Thematic

[closed]

How to add ?

(6 posts)
  • Started 4 years ago by blueblue
  • Latest reply from blueblue
  • This topic is not resolved
  1. blueblue
    Member

    Hi guys, How do I add something like this to my theme > ( the top black part where it says follow me in twitter etc )

    I also want to change the navbar just like in the theme, or a solid background is fine, any ideas how to change the color of the navbar ? thanks !

    http://themes.jestro.com/titan/

    Posted 4 years ago #
  2. Hi,

    the #follow part is created using the following code in your child theme's functions.php:

    function ct_follow() { ?>
        <div id="follow">
             <--- your code --->
        </div>
    <?php
    }
    add_action('thematic_header', 'ct_follow', 0};

    Chris

    Posted 4 years ago #
  3. blueblue
    Member

    hi Chris, i tried adding this code to my functions.php page and it messed up my blog , any thoughts how I can fix this ? It shows a blank page , http://www.blog.blue2x.com

    I tried to overwrite the functions.php file and style.css file with the default thematic files but still it doesnt work =(

    Posted 4 years ago #
  4. Caramboo
    Member

    Change the last line to this:

    add_action('thematic_header', 'ct_follow', 0);

    Chris used the wrong bracket to close the function.

    Posted 4 years ago #
  5. Yikes .. sorry for this!

    Posted 4 years ago #
  6. blueblue
    Member

    ic, thanks chris and caramboo, im going to try this again. good thing aplus has a recovery function =)

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.