Kevin and I have been working on adding “sticky” funcationality, i.e., making it so that some posts can be set to float to the top of the page. The idea behind this is that we may want to have a persistent topic of conversation for a few days (I like the idea of posting questions and soliciting responses, sort of like ask metafilter on a much, much smaller scale.)
We’re using a plugin called Adhesive that provides some of the core functionality (i.e., it actually makes posts stick to the top). However, it has some issues. It’s supposed to create a class for the sticky posts to allow css styling, but the javascript involved appears to be botching the job so that the class is attributed to the div that contains the entire column. This makes it difficult to make the posts appear different.
There’s also a little tag that gets inserted below the post title (default message is “This is an Important Message” or somesuch). This functionality works, but is fantastically ugly-looking.
Compromise:
The tagline can be tagged, to a point. It can be set as a header, for example, but the plugin won’t let you attribute class or style information to it. So, I just made it a header I don’t use much. (h4). Then, I set it to a very small font size, made it black, set margin and padding to 0, and added a border-top. This gives the appearance of underlining for the h2 element above. (The post title). This offsets the sticky posts without necessitating ugly text.
However, it’s the dumbest code thing I’ve ever written that wasn’t a resume. Yeesh.
To make a long story short, now what we need is (other than a functioning sticky post plugin) is some things to make sticky. Other than your mother.
Note: Other than this plugin being weird, the most frustrating part of this process? The fact that CSS includes neither parent selectors nor prior adjacent sibling selectors (only posterior adjacent sibling selectors). Bitches.