Support » Plugins » A div around all posts within a day

  • How is this done? I know I need a <div> tag after the <h2> tag, but how far down does the </div> tag need to go, and where do I make the actual changes at, the template file, the hacks file?

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’ve been trying to figure this out, but couldn’t get david’s suggestion to work. It ended up putting a div around each post, not one div around all the posts in a day. I had already reached that same result by simply putting div tags in the loop. Any other ideas?

    Thinking laterally would you mind if I asked what you would like to do in the new div ?

    Mark (podz)

    (@podz)

    Support Maven

    .post {
    border: 1px solid #ff0000;
    }
    That work ?

    I have been thinking about this in a semantic way. Unless you have some fiendishly sophisticated wizardry in mind I would have thought that with imaginative use of bg color, margins and borders it is very simple to group posts by date without adding a further div to the mark up at all. Just my 2c.

    Old, old code…try this:

    .storyContent {
    font-size:11px;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    margin: 0px 0px 0px 350px;
    padding:11px;
    color:#000;
    background-color:#ffffff;
    width: 400px;
    border: 1px ridge #000;
    }

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘A div around all posts within a day’ is closed to new replies.