Moving your date/time in your entry box

Jul 17, 2006 23:15

I've had a couple questions about how I changed my layout to add the date to each entry above the subject box, along with the time. One was fairly recent, and since I'm planning to overhaul my layout anyway, (I do everything on the main layer and realized that's rather stupid) I figured I'd dig it out and share with everyone else. BTW, I have had ( Read more... )

Leave a comment

Comments 4

calzamante June 7 2007, 13:03:09 UTC
Um, hi. While I'd love to get the effect you describe (the big space between the date and the entry irks me - and also, I'd like a date above EVERY entry), what you've written up there has sadly gone right over my retarded head.

I am actually using Transmogrified as an S2 layout on my GreatestJournal, and adding nice tidy segments of CSS to the CSStab in the Customize Journal page is about my limit. As an example, I added the CSS you gave lenabee here, so thank you for that; and added CSS to get a header image (that doesn't show up in IE, soddit), but that really is stretching my understanding of coding.

Is there any chance you would be able to give me similar, idiot-proof coding for the date/time thing? I would be truly grateful if you could.

Thank you for your time,
Ruby

Reply

keristars June 11 2007, 07:33:17 UTC
Ack, I'm sorry it's taken me a while to reply! I forgot to turn my Google Talk on, so I wasn't getting email notifications, so I didn't check my email ( ... )

Reply

keristars June 11 2007, 07:33:29 UTC
(cont'd)

To change the way the date and time displays, you have to use a theme layer because you're reorganizing the page and changing actual variables - if you were only changing what they said or telling the layout to show B instead of A, where both A and B are options, you'd use the User layer instead.

There are three functions which affect the date and time display that you want to change: PRINT_ENTRY, PRINT_ENTRYLITE, and PRINT_BODY (for RecentPage and FriendsPage). For various reasons, most of which I'm having trouble explaining, if you want to change any part of a function, you need to copy the entire thing. Otherwise, the layout won't know what to do with your fragment of code - not where it is, not what it's in relation to, not what it means.

So... you have to go to the Layout Layer, find the functions that you want to change and copy/paste them into your theme layer. It's pretty easy to do with Transmogrified, because absolut was good about keeping things organized and labeled. All you have to do is find the part that starts ( ... )

Reply

calzamante June 11 2007, 09:22:29 UTC
Thank you so much for taking the time to reply to this. I am a bit of a CSS novice, but I think I understand what you've said. I shall have a fiddle about and see what I can come up with!

Reply


Leave a comment

Up