1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Making my WordPress header image clickable

Discussion in 'HTML & Website Design' started by Zhu, May 20, 2008.

  1. #1
    Hi,

    Sorry to bother you with this "simple" question but I'm really stuck for some reason.

    I'm trying to make my header image clickable on the blog Correr Es Mi Destino. I tried different methods but none seem to work and it's a bit frustrating :D

    Here is the piece of code I think I'm supposed to deal with:

    <body>
    <div id="header">
    <a id="headering" title="Correr Es Mi Destino - My New Life In Canada Under The Snow" href="<?php echo get_settings('home'); ?>/"></a> <?php /*<div id="navbar"><ul><li><a title="Home is where the heart is" href="<?php echo get_settings('home'); ?>">Home</a></li><?php wp_list_pages('title_li=&depth=1'); ?></ul></div> */ ?></div><div id="wrap">

    </div>

    </div>


    If you need more code, please let me know...

    Also note that I'm using a tweaked theme: I don't think I use the "headering part" of the code anymore.

    Thank you so much for your help...!
     
    Zhu, May 20, 2008 IP
  2. cscott5288

    cscott5288 Active Member

    Messages:
    912
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #2
    you have to give us more information. which template page did you get this code from? is it header.php?

    you also may have a background set in your css. either way, to make it clickable your going to have to insert your image in your header.php. give us all the code for your page that contains your header (most likely called "header.php).
     
    cscott5288, May 20, 2008 IP
  3. Ulquiorra

    Ulquiorra Peon

    Messages:
    422
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #3
    There is nothing between the <a> tags. Need to see css for #headering.
     
    Ulquiorra, May 20, 2008 IP
  4. Zhu

    Zhu Well-Known Member

    Messages:
    321
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #4
    Okay, sorry guys!

    Here my whole header.php:

    I don't have a CSS for the headering... Just CSS for the header:

    (I have two CSS files)

    Thanks for your patience!
     
    Zhu, May 20, 2008 IP
  5. Ulquiorra

    Ulquiorra Peon

    Messages:
    422
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Okay, firstly, take:

    And change it to

     
    Ulquiorra, May 20, 2008 IP
  6. Ulquiorra

    Ulquiorra Peon

    Messages:
    422
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Sorry about the weird quote mistake in the middle, can't edit it due to a DP bug which I'm going to report now :p
     
    Ulquiorra, May 20, 2008 IP
    Zhu likes this.
  7. Zhu

    Zhu Well-Known Member

    Messages:
    321
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #7
    May I call you master? :D

    It works great, thank you so much! I appreciate your patience... and your skills!
     
    Zhu, May 20, 2008 IP
  8. Ulquiorra

    Ulquiorra Peon

    Messages:
    422
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You're welcome. And I didn't say this before, but that is a really nice blog + love your drawing skills.
     
    Ulquiorra, May 20, 2008 IP
  9. Zhu

    Zhu Well-Known Member

    Messages:
    321
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #9
    Thank you! Ad once again... thanks for your valuable help ;-)

    I'm usually okay with CSS, Php and HTML (I tweak my blog by myself, do the design etc.) but I occasionally get stuck on silly things. I'm glad you were here to help!
     
    Zhu, May 20, 2008 IP