Surrounding Box For Each Post
-
Hi –
I’m trying to intergrate WordPress into my site using The Loop, but I’ve come unstuck. Here is a ‘perfect’ representation of how I’d like the site to appear (this is just me using HTML to represent the WordPress entries) :https://endofradio.preservationsociety.net/test/index.php
So you can see that the title / meta data appears in the black div (css id: statbar) at the top, then the content is contained within the green box underneath (css id: content2, though that is inside #border) and the whole thing is contained in the div #contenttable. Ideally what I’d like is for each new post to be contained in one of these boxes, running vertically down the page.
However, I’ve tried dozens of combinations of using the WordPress code in the page, and every time I’m coming up with something that looks like this:
https://endofradio.preservationsociety.net/journal/index.php
(believe me, this was the best looking structure of the bunch).
The problem seems to be that it’s putting all the entries into the content2 div, and seems to be disregarding the Statbar CSS. Here’s a txt file containing the relevant code – I’m sorry if it’s very amateurish, but it’s the first time I’ve done a tableless site:
https://endofradio.preservationsociety.net/journal/wordpresserror.txt
I hope someone can help, it would be hugely appreciated. Thanks!
- The topic ‘Surrounding Box For Each Post’ is closed to new replies.