# ACK! help please

**URL:** <https://forum.kirupa.com/t/ack-help-please/264164>\
**Category:** web dev\
**Created:** [June 23, 2008, 6:00pm UTC](https://forum.kirupa.com/t/ack-help-please/264164 "2008-06-23T18:00:48Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![spyderfx](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Post date:** [June 23, 2008, 6:00pm UTC](https://forum.kirupa.com/t/ack-help-please/264164/1 "2008-06-23T18:00:48Z")

</div>

I screwed up my blog template somehow and I have no idea what did it. When someone clicks to go to a blog posts individual page (clicking on title of post) the page that opens has everything shifted up and the white background doesn’t cover the content.

can anyone view the page source and tell me what is going on?

[www.bioloser.com](http://www.bioloser.com)

thanks:sen:

---

<div class="post-metadata">

**Author:** ![fasterthanlight](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fasterthanlight](https://forum.kirupa.com/u/fasterthanlight)\
**Post date:** [June 23, 2008, 6:08pm UTC](https://forum.kirupa.com/t/ack-help-please/264164/2 "2008-06-23T18:08:09Z")

</div>

wordpress?

make sure single.php within your theme is up to date with the modified code from index.php

I always forget to do this, clicking a post title brings you to a different template page

---

<div class="post-metadata">

**Author:** ![spyderfx](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Post date:** [June 23, 2008, 6:16pm UTC](https://forum.kirupa.com/t/ack-help-please/264164/3 "2008-06-23T18:16:43Z")

</div>

sorry, i don’t know much about php at all ☹ could you please elaborate? is single.php suppose to have the same code in it as index.php?

---

<div class="post-metadata">

**Author:** ![fasterthanlight](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fasterthanlight](https://forum.kirupa.com/u/fasterthanlight)\
**Post date:** [June 23, 2008, 6:51pm UTC](https://forum.kirupa.com/t/ack-help-please/264164/4 "2008-06-23T18:51:37Z")

</div>

Not the same code, but the same customization,

You’ve edited index.php to display how you want it to, so you probably added some divs (or tables if you’re using them)

you have to mimick the exact structure of how your post is “built” from index.php, in single.php

---

<div class="post-metadata">

**Author:** ![spyderfx](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Post date:** [June 23, 2008, 7:10pm UTC](https://forum.kirupa.com/t/ack-help-please/264164/5 "2008-06-23T19:10:23Z")

</div>

i haven’t made changes to either of those files. I was trying to make my header clickable and was messing with the style.css and header.php. do you have to add \</div\> to the end of every \<div\> command? I can’t remember if there were any there or if I deleted some

---

<div class="post-metadata">

**Author:** ![fasterthanlight](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fasterthanlight](https://forum.kirupa.com/u/fasterthanlight)\
**Post date:** [June 23, 2008, 7:22pm UTC](https://forum.kirupa.com/t/ack-help-please/264164/6 "2008-06-23T19:22:06Z")

</div>

Yes, for every div you open, you must close, this is definitely causing you some headaches 😛

---

<div class="post-metadata">

**Author:** ![spyderfx](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Post date:** [June 23, 2008, 7:29pm UTC](https://forum.kirupa.com/t/ack-help-please/264164/7 "2008-06-23T19:29:27Z")

</div>

still not working. do you think this would be a problem in the style.css page? or is there some tag that isn’t there? or is it impossible to tell?

---

<div class="post-metadata">

**Author:** ![fasterthanlight](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fasterthanlight](https://forum.kirupa.com/u/fasterthanlight)\
**Post date:** [June 23, 2008, 7:41pm UTC](https://forum.kirupa.com/t/ack-help-please/264164/8 "2008-06-23T19:41:59Z")

</div>

you need to add a \</div\> right before \<div id=“content”\>

your header isn’t being closed, so the content slides inside of the header

your index page is probably alread has the \</div\> (thats why it works) so remove it from index.php (the \</div\> that appears before \<div id=“content”\> and add it to your header.php,

\<div id=“header”\>  
\</div\>

Thats how it should look when you’re done modifying header.php

---

<div class="post-metadata">

**Author:** ![spyderfx](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Post date:** [June 23, 2008, 7:56pm UTC](https://forum.kirupa.com/t/ack-help-please/264164/9 "2008-06-23T19:56:43Z")

</div>

thanks for help 🙂

didn’t see your post in time. I ended up redownloading the theme and starting over. its fixed now.

edit - thought it was fixed but its not. i’ll try your suggestion

do you know an easy way to make the header link back to the main page? i think i have to do it in php somewhere but i’m not sure where because it seems like there are a million variables that are refering to who-knows-what

---

<div class="post-metadata">

**Author:** ![spyderfx](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Post date:** [June 23, 2008, 8:05pm UTC](https://forum.kirupa.com/t/ack-help-please/264164/10 "2008-06-23T20:05:09Z")

</div>

still not working. even after i reinstalled the code from all the pages I’ve messed with

- edit: i just realized that it was working after i re installed the theme, but stopped after i made changes to it. perhaps using height: for the header is screwing everything up

- edit 2: i took height out and it changed it for the index.php page but not for the single post page where the problem lies.

---

<div class="post-metadata">

**Author:** ![actionAction](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/actionaction/32/3987_2.png) [@actionAction](https://forum.kirupa.com/u/actionAction)\
**Post date:** [June 23, 2008, 8:28pm UTC](https://forum.kirupa.com/t/ack-help-please/264164/11 "2008-06-23T20:28:31Z")

</div>

Why don’t you just reinstall again?

---

<div class="post-metadata">

**Author:** ![spyderfx](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Post date:** [June 23, 2008, 8:35pm UTC](https://forum.kirupa.com/t/ack-help-please/264164/12 "2008-06-23T20:35:08Z")

</div>

i did once, copying and pasting code. that didn’t work

then i downloaded the whole thing again and replaced all the files and something is STILL wrong. now i’m completely baffled.

here is what it should look like  
[http://themes.wordpress.net/testrun/?p=9](http://themes.wordpress.net/testrun/?p=9)

here is what mine looks like  
[www.bioloser.com](http://www.bioloser.com)

and i just reloaded all the files fresh

---

<div class="post-metadata">

**Author:** ![fasterthanlight](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fasterthanlight](https://forum.kirupa.com/u/fasterthanlight)\
**Post date:** [June 23, 2008, 8:39pm UTC](https://forum.kirupa.com/t/ack-help-please/264164/13 "2008-06-23T20:39:53Z")

</div>

[www.getfirebug.com](http://www.getfirebug.com)

---

<div class="post-metadata">

**Author:** ![spyderfx](https://avatars.discourse-cdn.com/v4/letter/s/c2a13f/32.png) [@spyderfx](https://forum.kirupa.com/u/spyderfx)\
**Post date:** [June 23, 2008, 8:52pm UTC](https://forum.kirupa.com/t/ack-help-please/264164/14 "2008-06-23T20:52:20Z")

</div>

doesn’t work with firefox 3.0 ☹

i fixed the problem. thanks for all your help.

---

<div class="post-metadata">

**Author:** ![fasterthanlight](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fasterthanlight](https://forum.kirupa.com/u/fasterthanlight)\
**Post date:** [June 23, 2008, 8:58pm UTC](https://forum.kirupa.com/t/ack-help-please/264164/15 "2008-06-23T20:58:58Z")

</div>

Strange, I have firefox3 and it works for me,

here’s the latest version (the one I have installed, and no problems)

[https://addons.mozilla.org/en-US/firefox/addon/1843](https://addons.mozilla.org/en-US/firefox/addon/1843)
