Customizing linkbar, adding space between entries, layers tutorial

Aug 23, 2007 21:59

Journal: imaginepageant
Account: paid
Code:
/* PAGE ( Read more... )

Leave a comment

Comments 6

here_be_dragons August 25 2007, 13:51:24 UTC
I don't know about 1 & 3, but I managed to figure out how to fix #2 in my own journal. I pasted this into my theme layer:

function Page::print_entry(Entry e) {
$e->lay_print($this, new Color, new Color, false);"""< br >< br >< br >""";
}
function FriendsPage::print_entry(Entry e) {
$e->lay_print($this, $.friends{$e.journal.username}.bgcolor, $.friends{$e.journal.username}.fgcolor, true);"""< br >< br >< br >""";
}

Just remove the spaces from the < br> s (that's the way I fixed it so that it would post here, instead of adding page breaks to this comment). If you want more, or less, space between the entries, just change the number of "
"s between the triple quotes for each section (one section does this for your recent entries; the other for your friends' page).

I hope it works for you!

Reply

here_be_dragons August 25 2007, 13:53:42 UTC
Oops . . . I STILL forgot to fix one thing in this comment. It should read:

"If you want more, or less, space between the entries, just change the number of "< br >" s between the triple quotes . . . " You can see the amount that three breaks gives you; that's what I'm using in my journal right now. :)

Reply

imaginepageant August 25 2007, 15:12:12 UTC
Yes, it worked! Thank you SO MUCH! You have no idea how much that squishiness was bothering me. :D

Reply

You're welcome! here_be_dragons August 25 2007, 15:37:15 UTC
YAY! I'm really glad it worked. I really don't know what I'm doing when it comes to this coding stuff, so when something works for me, I'm never quite sure WHY it works, and if it would work for someone else, too. :D

I hated the squishiness, too, and it seems strange to me that this isn't something that's really easy to change. They let you change the left and right margins, why not the spaces between entries? Ah well, but it's all good now. We've both got our spacing the way we want it.

:)

Reply


here_be_dragons August 25 2007, 13:56:33 UTC
Oh . . . and is this what you're looking for in regards to #3?

http://community.livejournal.com/s2howto/25272.html

Reply

imaginepageant August 25 2007, 15:12:51 UTC
Maybe... I think there was more to the other one, but this worked anyway, so it's all good! Thanks again.

Reply


Leave a comment

Up