Forums

[resolved] Really tricky clickable header (8 posts)

  1. Tajaia
    Member
    Posted 1 year ago #

    I'm using comicpress and I need my header to be clickable to get to the home page.
    I'm using a special custom code here:
    http://comicpress.org/forum/viewtopic.php?t=1825

    and my site is here:
    http://www.forthefailcomic.com

    Bonus points if someone can point me in the right direction for making custom menu buttons. ZombieRoomates guide doesn't seem to work with my code.
    Thanks so much!
    -Taj

  2. Tajaia
    Member
    Posted 1 year ago #

    Anyone who wants to make their header clickable using Frumphs Custom Header code, this is how:
    In the header.php change the <div id="header"> to <div id="header" onclick="location.href='http://example.com/';" style="cursor: pointer;">

    And it links to the home page, or whatever you want to change the link to.

    Info was found: http://codex.wordpress.org/Designing_Headers#Making_the_Whole_Header_Clickable

  3. Frumph
    Member
    Posted 1 year ago #

    .. It's also on the examples tab of comicpress companion (theme companion) the plugin.

    - Phil

  4. Tajaia
    Member
    Posted 1 year ago #

    I couldn't seem to get that code working with your custom header. May just be my lack of skill but I tried a couple codes and that's the only one that worked.

  5. Frumph
    Member
    Posted 1 year ago #

    Well if you have the latest version of comicpress, the custom header automatically does the linking...

    Did you check to see if you have like a #header h1 { display: none; } in place or something?

  6. Tajaia
    Member
    Posted 1 year ago #

    I didn't know I was to be looking for that, that would have been a lot simpler than the long route, haha. I think I always end up working too hard and it's something simple. Glad I got it though. Thanks Frumph!

  7. plongley87
    Member
    Posted 9 months ago #

    do you know how to make two images clickable in your header

    heres my site
    http://evolutionfitnessconference.com/

    i made them both clickable but for some reason on the top of my pages where i am supposed to have a labeled header, my text has become transparent.

    i put in the code from this forum

    http://wordpress.org/support/topic/clickable-header-two-pictures?replies=6

    any suggestions?

  8. Frumph
    Member
    Posted 9 months ago #

    ^ please post a new topic, this has no relevance to the comicpress theme since you are not using that theme so it is different CSS then what is discussed in this topic.

Topic Closed

This topic has been closed to new replies.

About this Topic