Need Clickable Header Image That Leads to Newsletter Signup Page

  • deanrit

    #8229

    I’m having a difficult time figuring out how to make the image file I use as my header on my brand new blog located at http://trusteduserreviews.com to lead to my newsletter sign-up page located at http://trusteduserreviews.com/sign-up-for-our-newsletter-here/.

    I need this header image to be clickable and to lead to the newsletter signup page no matter what page you are viewing the header on. I have read a post here that was similar but that was about linking the header image to the home page — that’s different that what I am asking for. Can anyone help?

    Mod

    Kenneth John Odle

    #40731
    Quote:
    I have read a post here that was similar but that was about linking the header image to the home page — that’s different that what I am asking for. Can anyone help?

    Thanks for searching first. Here’s a thread from a couple of months ago that should do what you’re looking for:

    https://forum.graphene-theme.com/graphene-support/link-header-image-to-another-page

    deanrit

    #40732

    Thanks! That did work, but only partially. While on the homepage the header is clickable and leads to the newsletter signup page, but when you are on any other page the header is not clickable. Is there a way to make all of the page header images clickable?

    Mod

    Kenneth John Odle

    #40733

    Try

    <script type="text/javascript">
    jQuery(document).ready(function ($) {
    $(".header-img").wrap("<a href='http://www.gruuna.com/'></a>");
    });
    </script>

    deanrit

    #40734

    That works great! Thank you so much Kenneth!

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

You must be logged in to reply to this topic.