Support » Themes and Templates » Changing how content appears in a theme

  • Not sure if this is the correct thread, but here goes anyway.

    I’m creating a theme for a non-blog website in WP. I’ve got everything running smoothly and appearing correctly apart from one thing. The textual content of the pages appears in frames created by divs with a background colour and border. Each item on a page should be in a seperate frame, but so far I’ve only managed to have one frame per page which expands with text so it looks rather large and doesn’t break up the content well.

    This is the html (split between the header and footer) that allows for one massive frame when you add content:

    <div id="frame"> <!-- This is in header.php -->
     <div id="innerframe"> <!--This is in header.php -->
    <!-- Content typed in the wordpress admin panel appears here -->
     </div> </div> <!--This is in footer.php -->

    This works, but it’s ugly. Any idea how I would be able to add content from the admin panel and have it appear in seperate frames? I’m wondering if I can use posts to give the correct appearance, but I really have no idea where to start.

    Any help is appreciated.

Viewing 1 replies (of 1 total)
  • Not got any further with this; my foray into making each item on the page into a post hasn’t got me closer to an answer.

    Can anyone point me in the right direction? If you need clarification on what I mean please ask.

Viewing 1 replies (of 1 total)
  • The topic ‘Changing how content appears in a theme’ is closed to new replies.