• hi,

    i need to know how to make the (kubrickheader.jpg) main banner of the site to be click able to the main page of my site.

    thank you

Viewing 11 replies - 1 through 11 (of 11 total)
  • I’m not sure this is helpful, but I have a custom header on my site, and someone helped me out by placing a 1×1 invisible pixel into the “header” section of my site and made that pixel link to the main page. I know that’s not very clear, and I would love to give you the exact code, but I can’t get into WP right now…errors galore. But I thought maybe that might put you in the right direction.

    Thread Starter Husam

    (@husam)

    Any1 else?

    Thread Starter Husam

    (@husam)

    b.u.m.p

    What version of the theme are you using?

    I found this bit of code in an answer when I asked the same question for the same theme…this is for Kubrick, but again, not sure which version of the theme you’re using so don’t know for sure that this will work for you.

    <div id="headerimg"onclick="location.href='https://yoursite/';" title="Return to Homepage"; style="cursor: pointer;">

    If that doesn’t work, do a search for clickable header, I’m sure you’ll find the answer.

    Thread Starter Husam

    (@husam)

    where do i put this code^ ??

    Header.php page of the theme in this section of the code:

    <body>
    <div id="page">
    <div id="header">
    <div id="headerimg"***>
    <h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    <div class="description"><?php bloginfo('description'); ?></div>
    </div>

    Add the code up in the other reply to where I’ve added the ***.

    Thread Starter Husam

    (@husam)

    k added this code, and the clickable banner worked, but now my theme’s background disappeared.

    im using version 2.0.4

    Thread Starter Husam

    (@husam)

    ^ ching waa ^

    Thread Starter Husam

    (@husam)

    found a better code….close this

    You can mark it resolved.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘making (kubrickheader.jpg) click able to main site’s page’ is closed to new replies.