WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] how can i make my header image a homepage link? (3 posts)

  1. alittlestranger
    Member
    Posted 4 years ago #

    The title says it all :)

    homepage is here:
    http://www.alittlestranger.com/wordpress/

  2. zwave
    Member
    Posted 4 years ago #

    I was also interested in this and here's what I found: http://codex.wordpress.org/Designing_Headers#Making_the_Whole_Header_Clickable

    I did the short part:
    Open the wp-content/themes/default/header.php template file.
    Change from <div id="header"> to:
    <div id="header" onclick="location.href='http://example.com/';" style="cursor: pointer;">

    and it worked. I use the default theme

  3. alittlestranger
    Member
    Posted 4 years ago #

    thanks so much for your help zwave, it worked!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.