main topics archive podcast connect
  • Have a suggestion?

  • *
  • *
  • *

REQUIRED READING

Notify Ricardo

When you finish something, notify Ricardo (Executive Editor) via a private DM through Twitter.

Okay Geek Traffic Traffic live stats Twitter activity Facebook Page Image compress app Tips & Guidelines Report a problem
← Previous Clean slate Next →
Saturday
Aug012009

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

Discussion Threads

Follow and Subscribe to Okay Geek - We always send our latest articles to Twitter, RSS, Facebook and more, as well as other awesome content we find interesting.

Related Posts Plugin for WordPress, Blogger...