ThemeShaper Forums » Thematic

[closed]

customize the header

(2 posts)
  • Started 3 years ago by greenandi
  • Latest reply from helgatheviking
  • This topic is resolved
  1. hi,
    i wanted to customize the header with my own, so i did this in function.php, is this correct ?


    //remove defaults
    function remove_defaults() {
    remove_action('thematic_header', 'thematic_blogtitle',3);
    remove_action('thematic_header', 'thematic_blogdescription',5);
    remove_action('thematic_header', 'thematic_access',9);
    }
    add_action('init', 'remove_defaults');

    //recreate the childtheme header
    function childtheme_header() { ?>
    <div id="logo">
    <div id="blog-titile">
    <span>
    /" title="<?php bloginfo('name') ?>" rel="home"><?php bloginfo('name') ?>
    </span>
    </div>
    <h1 id="blog-description"><?php bloginfo('description') ?></h1>
    </div>
    <ul id="navi">

  2. link 1
  3. link 2
  4. link 3
  5. link 4
  6. <?php }
    add_action('thematic_header', 'childtheme_header', 2);

    should i separate each section, put them in their original position ? or can i put everything in as in position 2 (below div#branding) ?

    Im still learning thematic. header is tricky part.

Posted 3 years ago #
  • helgatheviking
    Moderator

    i think where you decide to put everything depends on how you intend to have everything look. if you are just going to line your blocks up nice and logically, what you have looks like it will work just fine.

    Posted 3 years ago #

  • RSS feed for this topic

    Topic Closed

    This topic has been closed to new replies.