How to make one Main post with older Mini posts underneath | Squarespace
Hey SS lovers,
I was searching for this recently and found something cool, How to have a "Main" post or the most recent post, with compact, "mini" older posts under it, sort of like digg. I have implemented it into the site. Enjoy!
Its great for blogs that have 5 or more entries a day.
See an example at http://t3chh3lp.com
CODE
Put this in your custom css section
/* Style the first journal post on the page */
.journal-entry-wrapper:first-child
.journal-entry {
background-color:#ffffff;
}
/* Hide the body and post-body tags on all posts */
.journal-entry .body,
.journal-entry-tag-post-body {
display: none;
}
/* Show body and post-body tags on first journal post */
.journal-entry-wrapper:first-child
.journal-entry .body,
.journal-entry-wrapper:first-child
.journal-entry-tag-post-body {
display: block;
}
2kr4j3ed65