Sticky Post Background *HACK*

May 08, 2008 03:08

I was just curious as to how, if it's even possible, to add a background image to the sticky post, and not to other entries.

You can see what I currently have at livebackward. Code is now live and more updated at my own journal ( Read more... )

how to:instructions, entries:sticky post, entries:background

Leave a comment

Comments 3

av8rmike May 8 2008, 11:56:56 UTC
Sure, you can post an image in the sticky post. People do it all the time with "friends only" banners and such. But, if you're talking about something like a tiled background, with the actual sticky post text superimposed, that would be a little more difficult. As it is now, there's no way through CSS only to style the sticky post separately (except for the subject line). You'd have to make a few changes to the layer code to do it properly.

Reply

danielefton May 8 2008, 15:13:42 UTC
I thought that was going to be the solution.

I'm wondering if I can place the image in the background property of the #alpha-inner css and use background-position: xpos ypos; to place it exactly where I want it. Of course if I changed the content of my sticky post I would have to change the code.

This is something I'll have to try.

Reply

danielefton May 8 2008, 18:41:27 UTC
moving the background image from .asset-inner to the #alpha-inner with background-position: xpos ypos; code worked perfectly. I've updated my post to include this little hack.

Reply


Leave a comment

Up