custom link in logo image

Community Forums Forums General Discussion custom link in logo image

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  raven102 1 year, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10357

    raven102
    Participant
    Post count: 2

    I am trying to change a hyperlink in site’s logo (located in header section). Right now it points back to the site’s home page (www.mysite.xyz), but I want it to point to http://www.mysite.xyz/another-page.html

    Logo itself is logo.png file and I can confirm that I know the path to this file.

    I read through the forums and toyed with Simple Hooks (Header section) as indicated below, but still no luck. This should be a relatively easy task, perhaps someone has a quick solution?

    <a href=”http://www.mysite.xyz/another-page.html”><img src=”www.mysite.xyz/wp-content/themes/generate/images/logo.png”></a>

    Any ideas?

    Thank you in advance!

     

     

     

    #10391

    SoZo
    Moderator
    Post count: 1573

    See this tutorial


    John “Nicolas Flamel” Wright | SoZo’s design| John Wright Photography

    #10443

    raven102
    Participant
    Post count: 2

    Thanks for the feedback. Before I read it, I ended up adding the following to Header section of Simple Hooks:

    <div id=”header-image”> <a href=”http://www.mysite.xyz/another-page.html” id=”title-area”  </a></div>

    and that did what I wanted, too. I had to unhook genesis_do_header() function from this hook.

    My next mission is to employ area maps to split the logo into two different links, i.e. right side links to page #1, left side links to page #2. Hopefully it is possible.

     

     

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.