Support » Fixing WordPress » "Clickable header"

  • Hi

    I wanted the header image of my page to redirect to the main page when clicked.
    However all of the solutions I’ve found don’t work with the way the Storefront theme has its header set up:

    <header id="masthead" class="site-header" role="banner" <?php if ( get_header_image() != '' ) { echo 'style="background-image: url(' . esc_url( get_header_image() ) . ');"'; } ?>>

    I was wondering if anyone knew how I could implement this function?

    Any help would be greatly appreciated.
    Al

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘"Clickable header"’ is closed to new replies.