-
petarganchevParticipant
[quote]CODE: http://pastebin.com/DEKWyeAq%5B/quote%5D
The link is \\\\\\\”Unknown Paste ID!\\\\\\\”.
Can you post the header.php code here?
miniParticipantHello,
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,
minidkuropatwaParticipantIt 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.
solielkisserParticipantGreat 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.
solielkisserParticipantGreat 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.
rozatParticipantThanks 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.
rozatParticipantrozat 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.
slinnkyParticipantHey 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,
You must be logged in to reply to this topic.