WordPress.org

Ready to get started?Download WordPress

Forums

I want to insert html code before the header, how? (3 posts)

  1. 1nteresting
    Member
    Posted 6 years ago #

    Short and sweet:

    I want to insert html code before the header, such as a table with images and links in it.

    How?

  2. michael
    Member
    Posted 6 years ago #

    insert <table> tags with images - but i strongly advise using divs instead

  3. drewactual
    Member
    Posted 6 years ago #

    read up on absolute positioning in css... the general idea would be place your content in a #div that has an absolute postioning value- which would be the top. if you do this properly you can render that div in a browser positioned wherever you want it.

    many themes do this, because they would want the content to show up in the code before mundane junk like navigation, (search engine optimization) but you would want the navigation on the top or left/right, right? investigate that concept and you will find all sorts of ways to render div's wherever you want them.

    I could do it for you, and post the code here, but you would learn nothing that way, right? Little tricks like this is what makes you understand stuff, not just duplicate and make it work...

    happy hunting!

Topic Closed

This topic has been closed to new replies.

About this Topic