WordPress.org

Ready to get started?Download WordPress

Forums

Sixhours
Making the Blog Title Clickable (3 posts)

  1. livren
    Member
    Posted 2 years ago #

    I love the blog layout, but it would be perfect if I could click the blog title and have it link back to the homepage.

    Thanks!

    http://wordpress.org/extend/themes/sixhours/

  2. Caroline Moore
    Member
    Theme Author

    Posted 2 years ago #

    Glad you like it! I may add this functionality in a future release. In the meantime you can edit header.php and replace this, line 25:

    <div class="title"><?php bloginfo('name'); ?></div>

    with this:

    <div class="title"><a href="<?php echo home_url(); ?>" title="<?php bloginfo('name') ?>"><?php bloginfo('name') ?></a></div>

    You may also want to add the following to your stylesheet to prevent the blog title from having a :hover color change:

    .title a:hover {
    	color: #f3f3f3;
    }

    That should do it. :)

  3. livren
    Member
    Posted 2 years ago #

    Thanks so much, it worked perfectly!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags