• Resolved brianpalmer

    (@brianpalmer)


    Hello, my designer made a custom header and put it on the site, but for the life of me, I can’t seem to figure out how to make it clickable. I think the issue may be that it’s set up as a background image, but I’m not sure.

    Anyway, if anyone has any thoughts, I’d really appreciate it.

    Here’s a beta version of the site:
    https://saturnscene.com/saturnscene

    Thanks,
    Brian

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi Brian,

    Yes, it’s because of the header being a background image that you’re having issues. If you don’t mind a little coding work-around, you can try the following:

    In your header.php file, add the following line just about the col-full div, so it looks like this:

    <a href="<?php bloginfo('url'); ?>">
    <div class="col-full">
    ...content here...
    </div>
    </a>

    Then, in your custom.css file, add the following to the declaration on line 48:

    height: 143px;

    That will display the col-full div as a box and will make the entire header clickable to go home.

    Hope that helps.

    Thread Starter brianpalmer

    (@brianpalmer)

    Thanks for such a quick reply gdgirl. I tried what you wrote, but couldn’t seem to find where to place the “height: 143px;”

    I’m sure this is probably a dumb question, but how do I know where the declaration on line 48 is?

    Actually, after taking another look at your site, you should probably just add this whole line to the very end of your custom.css file:

    #navigation .col-full { height: 143px; }

    I think that should work better.

    Also, I think the a tags are in the incorrect place.

    Thread Starter brianpalmer

    (@brianpalmer)

    I tried that and now there’s no header at all.

    Is there any code that I can copy and paste here that would help to fix the issue?

    Uh oh! Go ahead and email me your header.php file and custom.css file to nikki AT geekdesigngirl DOT com and I can fix it for you. It looks like there is an issue with the a tags.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can't seem to make header clickable in Bueno’ is closed to new replies.