WordPress.org

Forums

Hemingway
[resolved] header link (6 posts)

  1. klaus202020
    Member
    Posted 1 year ago #

    Hi,

    i have a problem linking my custom header image to my page

    any ideas?

  2. Anders Noren
    Member
    Theme Author

    Posted 1 year ago #

    Hi klaus202020,

    You'll have to be a bit more specific. Do you want the header image to link a page on your site, or do you want to change the blog title link to a page?

  3. klaus202020
    Member
    Posted 1 year ago #

    hi,

    yes, i want the header image link to a page on my site.

    tried some, but didnt figure out how to do that on your theme...

    thanx in advance

    klaus

  4. Anders Noren
    Member
    Theme Author

    Posted 1 year ago #

    The easiest way to do this would probably be to change the element header section to a link. Change it from a div to a a element and add the href="#" value with a link to the page you want the header to link to.

    Next, go to the element in style.css (line 231) and add the code display: block; to it. That should do it. Note that you might have to remove the link from the site-title element for it to work properly.

  5. klaus202020
    Member
    Posted 1 year ago #

    Hey,

    im not realy familar with css,

    think i have to do the changes in the stylesheet css?

    in which line of header php. (if thats rignt) i have to do the changes?

    maybe a code sniped would help me...

    thx

    klaus

  6. klaus202020
    Member
    Posted 1 year ago #

    Only thinks i found on the net was:

    <div id="header" onclick="location.href='<?php bloginfo('url') ?>';" style="cursor: pointer;">...</div>

    but dont know if thats right for the theme and where to put it in to work...

    greetings

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic