Header Image Link to home

Viewing 15 posts - 16 through 30 (of 34 total)
  • #2473
    petarganchev
    Participant

    [quote]CODE: http://pastebin.com/DEKWyeAq%5B/quote%5D

    The link is \\\\\\\”Unknown Paste ID!\\\\\\\”.

    Can you post the header.php code here?

    #2474
    mini
    Participant

    Hello,

    I follow instructions on this thread (to link header image to the homepage) by changing the following code (original code):
    [img]http://upload.kapanlagi.com/c.php?f=201107100640084_original_code_4e18e6d82d9c9.jpeg[/img]

    into (new code):
    [img]http://upload.kapanlagi.com/c.php?f=201107100640034_new_code_4e18e6d30c2a1.jpeg[/img]

    My site is currently hosted locally, but I have checked with some major browsers and it works in terms of link functionality. The only problem is on Post Pages the image header/banner does not seems to work as it should be, it seems overlapped with Title Container Box. The one on the homepage does not have this problem (work fine).

    Homepage:
    [img]http://upload.kapanlagi.com/c.php?f=201107100616094_homepage_4e18e139ed37a.jpeg[/img]

    Post pages:
    [img]http://upload.kapanlagi.com/c.php?f=201107100616064_post_4e18e136a0cd2.jpeg[/img]

    Would appreciate if anyone able to suggest workaround on this problem.

    Thanks,
    mini

    #2476
    dkuropatwa
    Participant

    It took me forever but I finally figured this out.

    In the minimatica folder is a file called: header.php

    In the editor (make sure you have write access to the file) open this file and find this code:

    <body <?php body_class(); ?>>
    <div id=”wrapper” class=”hfeed”>
    <header id=”header” role=”banner”>

    Edit the code to look like this:

    <body <?php body_class(); ?>>
    <div id=”wrapper” class=”hfeed”>
    <header id=”header” role=”banner” onclick=”location.href=’YOUR SITE URL GOES HERE’;” style=”cursor: pointer;” title=”Home”>

    Replace: YOUR SITE URL GOES HERE with the appropriate url for your site, something like: http://example.com

    Works like a charm.

    BTW, ignore all the backward slashes (\) you see in the code above, the forum adds them automatically.

    #2477
    Cybergrace
    Participant

    THANK YOU!!!

    #2478
    Photoxite
    Participant

    FABULOUS! Thanks for all the great info.

    #2479
    lexington88
    Participant

    Thanks you dkuropatwa – much appreciated

    #2480
    danik
    Participant

    great work man, let’s keep improving the use of this great theme.

    #2481
    solielkisser
    Participant

    Great code, thank you. I am a newbie to all of this, and at first did not remove the slashes, so the code didn’t work. I know you said ignore them, but that didn’t translate to REMOVE them. I am also new to the forum and did not know that it just adds slashes automatically. I just copy and pasted the whole thing and wondered why it didn’t work! Oh well, live and learn! thanks again.

    #2482
    solielkisser
    Participant

    Great code, thank you, dkuropatwa. I am a newbie to all of this, and at first did not remove the slashes, so the code didn’t work. I know you said ignore them, but that didn’t translate to REMOVE them. I am also new to the forum and did not know that it just adds slashes automatically. I just copy and pasted the whole thing and wondered why it didn’t work! Oh well, live and learn! thanks again.

    #2483
    illumus
    Participant

    Disregard – Problem Solved! The solution worked for me!

    #2484
    rozat
    Participant

    Thanks dkuropatwa.
    I tried your code”[code]<header id=\”header\” role=\”banner\” onclick=\”location.href=\’YOUR SITE URL GOES HERE\’;\” >[/code]”.
    But the problem couldn’t be solved till I remove [code]style=\”cursor: pointer;\” title=\”Home\”[/code].

    I don’t know why, but it do works ok now.

    #2485
    rozat
    Participant

    rozat said:
    Thanks dkuropatwa.
    I tried your code “[code]<header id=”header” role=”banner” onclick=”location.href=’YOUR SITE URL GOES HERE’;” style=”cursor: pointer;” title=”Home”>[/code]”.
    But the problem couldn’t be solved till I remove [code]style=”cursor: pointer;” title=”Home”[/code].

    I don’t know why, but it do works ok now.

    #2486
    caprismart
    Participant

    God Bless you dkuropatwa

    #2487
    slinnky
    Participant

    Hey guys. So I have no idea what’s going wrong, but nothing changes when I place the code in my website. I copied the code exactly, removed the slashes, put my url in and still can’t get it going…. I could be an idiot, but it’s semi frustrating that such a simple solution isn’t working for what appears to be only me.

    Any ideas? Cheers,

    http://slinnky.tv

    #2488
    Elissa
    Participant

    Thanks for the help! One question though, it works on some of my pages, not others. Any idea why?

    Thanks!

Viewing 15 posts - 16 through 30 (of 34 total)

You must be logged in to reply to this topic.