ThemeShaper Forums » Thematic

Blog Description

(2 posts)
  • Started 4 years ago by cehwitham
  • Latest reply from Chris
  • This topic is not resolved
  1. I am trying to style my header and have noticed that on some pages the blog description is surrounded with a div of id blog-description and on others it is surrounded by a h1 of id blog-description. This is causing some inconsistencies. Is there a way to make it only be wrapped in a div?

    Posted 4 years ago #
  2. Hi,

    try this code in your child theme's functions.php:

    function remove_blogdescription()
    {
       remove_action('thematic_header', 'thematic_blogdescription', 5);
    }
    add_action('init', 'remove_blogdescription');
    
    function my_blogdescription()
    {
    
    ?>
    	<div id="blog-description"><?php
    
       bloginfo('description')
    
    ?></div>
    <?php
    
    }
    add_action('thematic_header', 'my_blogdescription', 5);

    Chris

    Posted 4 years ago #

RSS feed for this topic

Reply

You must log in to post.