Ready to get started?Download WordPress


[resolved] div rendering twice (5 posts)

  1. martinholm
    Posted 2 years ago #


    I am doing a little project for a friend http://blivmand.dk/, and it is the first time I have tried WordPress..

    I am going for a simple solution with a header, containing a vimeo embedded movie, menu and social links. I have found a way to hardcode it into the twentyeleven theme. Not sure this is the best way, but hey it works :)

    I am now having an issue, of a div is showing up twice. The div id="Head" is showing up once more in the content section. this only happens in the suppages, ex: http://blivmand.dk/?page_id=2.. I can't seem to figure out what goes wrong here?

    I have googled and googled with out any result.

    So im hoping very much someone in the community can help me out with this?

    Regards / Martin

  2. what is the code of page.php and content-page.php of your theme?

    please use the http://pastebin.com/ - see http://codex.wordpress.org/Forum_Welcome#Posting_Code

  3. martinholm
    Posted 2 years ago #

    Hi Alchymyth

    Thanks for taking the time to reply on my post

    the links are as following:


  4. it might be that this line should not be in content-page.php:

    <div id="Head"></div>

    try to remove it ...

  5. martinholm
    Posted 2 years ago #

    Hi again..

    Worked like a charm :)

    Thank you very much, for helping me out.. This was really killing me :)

Topic Closed

This topic has been closed to new replies.

About this Topic