• Resolved Spacedog2k5

    (@spacedog2k5)


    Hi.. Me again. I need help again, and I hoping that someone can help me with my latest problem:

    My brother has been offered constructive criticism as I work to migrate my blog from Blogger. Today he let me know that there is no way “home” on my blog, other than the back button on the browser.

    That said, can someone please help me to make my header IMG/log become a link back to main page of my blog? Here is the link to it:

    https://nerdykibbles.net

    Thank you in advance.

Viewing 12 replies - 1 through 12 (of 12 total)
  • It depends how your theme is coded. Look in header.php for the spot where it calls in your logo and wrap it in a link.

    Here’s the generated HTML:

    <img src="https://NerdyKibbles.net/wp-content/uploads/2011/04/knblogofinal.png" width="550" height="357" alt="" title="" />

    You want it to look something like this instead:

    <a href="/"><img src="https://NerdyKibbles.net/wp-content/uploads/2011/04/knblogofinal.png" width="550" height="357" alt="Kibbles 'n' Bitch" /></a>

    If you can’t find the right spot, paste your header.php code in a Pastebin so folks can take a look.

    Thread Starter Spacedog2k5

    (@spacedog2k5)

    I’m a little fuzzy around the collective edges this morning. Looked but can’t find where to put the coding you suggested. So, I’m going to go with the Pastebin suggestion you offered. Here is the link to my blog’s header coding:

    https://pastebin.com/qFAtyXa2

    Wrap your link around line 28:

    <img src="<?php echo $takte_headerimage; ?>" width="<?php echo $takte_headerimage_width; ?>" height="<?php echo $takte_headerimage_height; ?>" alt="<?php echo $takte_headerimage_alt; ?>" title="<?php echo $takte_headerimage_alt; ?>" />

    Thread Starter Spacedog2k5

    (@spacedog2k5)

    Zoonini –

    Outstanding work!! Thank you sooo much!! One other quick question relating to that.. I knew how to make the link border invisible in HTML, but I am not as certain in CSS. Can you please advise what I would need to insert to do that?

    You’re welcome!

    In CSS, you add

    border: none;

    to the element you want no border on.

    If you’re doing this via inline CSS, you’d add style="border: none;" to your HTML element.

    Thread Starter Spacedog2k5

    (@spacedog2k5)

    Ah, so I would add style=”border: none;” to the coding you gave me above? Any specific spot in the set?

    You can add it anywhere in the img tag. Here it is at the end, for example:

    <img src="<?php echo $takte_headerimage; ?>" width="<?php echo $takte_headerimage_width; ?>" height="<?php echo $takte_headerimage_height; ?>" alt="<?php echo $takte_headerimage_alt; ?>" title="<?php echo $takte_headerimage_alt; ?>" style="border: none;" />

    See if this works.

    Thread Starter Spacedog2k5

    (@spacedog2k5)

    Worked OUTSTANDINGLY perfect!! You made my day even more awesome, zoonini!! Thank you soo much! I may have one question, but it’s not related to that, and it’s not really important right now!! Thank you again!! Have a great day!!

    Excellent – glad it worked, my pleasure to lend a hand!

    Thread Starter Spacedog2k5

    (@spacedog2k5)

    Zoonini –

    Hi. Me again. I am hoping you can help me again, as you were an incredible help to me yesterday..

    What I am trying to do is changing my blog’s archiving formatt from month-to-month to year-to-year. Can you please tell me what I must do? Here is the link for the theme’s archives code: Archives.php.

    Please start a new thread for your new issue.

    Thread Starter Spacedog2k5

    (@spacedog2k5)

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Please Help – Turning Header IMG/logo into Link’ is closed to new replies.