Log in

No account? Create an account

Previous Entry | Next Entry

a mixed bag of things...

  • Mar. 27th, 2008 at 5:13 PM
Hello! I promise I browsed this community thoroughly for what I wanted, and while I found a few things I wanted to change, there were others I couldn't find at all or they're not properly tagged (I'll also try to properly tag this entry for other people).

What I hope to change:

-To shrink the font size in the top header. Fixed!
-Same with the header in my entries (including my flist, my day pages, main page, etc). Fixed!
-To remove the "Previous 25" link located at the top of all pages (flist, day, etc), but leave the bottom link untouched. Fixed!
-To move my mood theme and my music bar to the beginning of all entry pages instead of where they are now (at the end). Fixed!
[strikethrough]-To remove the tag bar from all pages except my flist page.[/strikethrough]
-Permanently remove the location bar everywhere. Fixed!
-To change the Georgia font to something else. Fixed!
[strikethrough]-I want "(no subject)" when someone on my flist (or me) doesn't post a subject line instead of the date, but the date displays next to the time as if a subject line really existed.[/strikethrough]

Is this possible?

Edit: I had a ton of tags listed, but they all disappeared after I posted. :(


( 21 comments — Leave a comment )
Mar. 28th, 2008 12:31 pm (UTC)
-To shrink the font size in the top header.

#header-name a { font-size: 28px;}

Similarly, for entry titles:

.asset-name { font-size: 22px;}

In both cases, change the number to what you want. All the other things you're asking about, however, require changing the layer code with a custom theme layer, because they're more complex. I always mention that because some people aren't willing to go to that level of trouble. ;)

Edited at 2008-03-28 12:31 pm (UTC)
Mar. 28th, 2008 01:43 pm (UTC)
Awesome! Thanks so much!

There's no easy code to remove the location bar and tags bar (on my main page), plus moving the mood and music bars to the top of each entry? How would I make Expressive into a custom theme layer? I thought it wasn't possible.
Mar. 28th, 2008 03:22 pm (UTC)
Actually, if you want to hide entry tags (what I'm assuming you mean by "tags bar") on your main page, that is possible with a CSS override. However, removing only the location from the metadata requires a theme layer, as does moving the metadata around in the entry block.
Since you have a Permanent account, you can create a theme layer, which will override certain aspects of the base Expressive layout.
Mar. 28th, 2008 06:41 pm (UTC)
Okay, I created a theme layer and c/p'd code I used for an old Flexisquares layout, which is supposed to move the music/mood to the top, but nothing happened. My theme layer number is 10967314 and it's viewable (I think). This is what I used:

function Entry::print_metadata() {
if (size $.metadata)
#print """

var string currents;
foreach var string k ($.metadata)
var string text = $k;
var string val = $.metadata{$k};
if ($k == "mood")
$text = $*text_meta_mood;
elseif ($k == "music")
$text = $*text_meta_music;
if ($k == "mood" and defined $.mood_icon)
var Image i = $.mood_icon;
$val = " $val";
$currents = $currents + """
$text: $val
$currents = $currents + "
println "$currents";
print """

What's the code to remove the location bar from everything, and what's the code to remove the "Previous ##" link at the top of my entries, but keep the bottom link?
Mar. 28th, 2008 06:59 pm (UTC)
It doesn't work that way: you can't copy code intended for one layout to another; at least, not without some modification. Usually it won't even compile. I'd strongly recommend reading the tutorial I wrote on the subject.

I previously covered the subject of "subject-less entry titles" here.

Oh, and you can use CSS to hide the "skip links" at the top:
.stream-header .prevnext {display: none;}
Mar. 28th, 2008 08:03 pm (UTC)
Oh, and you can use CSS to hide the "skip links" at the top:

Thank you so much for the code!

It doesn't work that way: you can't copy code intended for one layout to another; at least, not without some modification. Usually it won't even compile.

It compiled, but then I got an error when I did something else. What's the code to move the mood/music to the top if my flexisquares code won't work, and what's the code to completely remove the location bar?
Mar. 28th, 2008 08:33 pm (UTC)
Sorry for the piece-meal responses, I'm busier today than normal for a Friday. =(
I thought that I'd covered moving the metadata before; here is a link to a post with a complete function. Note that this function does not override the entry titles, and you can only have one print_entry() function active in a layer at a time. So, you'll have to modify one of the functions to do both things (moving metadata and replacing entry titles) at once.

For the Location field, you can use the function from here, then delete the word "location" from the blue text.

I know it probably really confusing... don't hesitate to ask if you have any questions or problems.
Mar. 28th, 2008 09:19 pm (UTC)
Yay, thank you so much!! I even got rid of the groups bar too, what a bonus!

One last thing... how do I change the body font? I'd like to have everything changed, not just a particular section. I tried using this code you supplied but nothing happened (not even an error).
Mar. 29th, 2008 02:57 pm (UTC)
Sorry, that was just a bad example in that other post. I should really delete or edit that...

A font specifier has to have, at a minimum, the font size and type, like this:
font: 14px Arial;
Or, it can have as much as this:
font: italic small-caps 900 12px "Times New Roman", serif;
The W3schools site has a lot of information about possible values.
Mar. 29th, 2008 03:09 pm (UTC)

None of the codes you supplied worked. Thanks anyway for much of your help on the others.
Mar. 29th, 2008 03:23 pm (UTC)
Can you be a little more specific on how they didn't work?
Mar. 29th, 2008 03:48 pm (UTC)
Sorry. I copied one of the codes into the layer, right underneath where it says set custom_css = ".stream-header .prevnext {display: none;} and neither of them worked. No errors, nothing.
Mar. 29th, 2008 04:22 pm (UTC)
The line that has the "set text_nosubject..." doesn't go in with the Custom CSS line. It has to go into the theme layer, where all the other "set .... " lines are. And, delete the "#" from the front. Was that the only thing not working?
Mar. 29th, 2008 05:27 pm (UTC)
Neither font codes worked. And putting the set text_nosubject = \"(no subject)\";} code there causes my icons to be placed on the left side, which seems to disable the .user-icon { float: right; } code, so I took out the nosubject code.

Edit: Well, I fixed the nosubject code so it doesn't affect the usericon float right code anymore, but the nosubject code still doesn't do anything.

Edited at 2008-03-29 05:30 pm (UTC)
Mar. 29th, 2008 07:04 pm (UTC)
For the subject text, follow the instructions I gave here for what to change in the print_entry() function.

I just tried this code, so I know it's right:
body { font: 16px Arial;}
Mar. 29th, 2008 09:15 pm (UTC)
Yay! Thank you! Not just this but for everything. :)
Aug. 30th, 2008 03:26 am (UTC)
Hi! I'm sorry to be bothering you on this Friday night, but apparently I somehow made a mistake while touching up my layout somewhere.

On the ?mode=reply page, there are two horizontal lines between the linksbar and where the comments form starts, and I can't for the life of me figure out how to get rid of them or even how they got there in the first place. I think I might have removed a piece of code somewhere, causing those two lines to appear, but I don't remember which one it was.

I'd really appreciate it if you could help me figure this out whenever you have the time. Thanks so much and have a great weekend. :)
Sep. 2nd, 2008 07:44 pm (UTC)
Sorry for taking so long, but I was out of town for the weekend and it took me a while to figure out where this came from.
Ads were added to Entry and Reply pages, and whoever it was added another <hr /> (horizontal rule) to the page. If it bugs you enough, you can override the ReplyPage::print_body
function in your layer to remove the extra line.
Sep. 2nd, 2008 11:40 pm (UTC)
Thanks so much for the speedy response! I wasn't expecting to hear back from you so soon; it was Labor Day weekend and people tend to take several days off. :)

Ads were added to all accounts, regardless of account status? I have a permanent account, I always thought that would excuse my journal from being plagued with ads. Damn you, LiveJournal! I can understand adding ads to basic accounts so that the ads can be seen to persons only logged out of LJ, but all journals have to have ads now? Ugh!

I don't think I have a replypage function in my layer nor could I find the horizontal rule code anywhere. If you have a moment, can you please point it out to me? I'd really appreciate it. :)
Sep. 3rd, 2008 12:30 am (UTC)
Whoa, easy there, big fella. =) It was in news recently that they were adding advertising to Basic accounts, but us Paid and Permanent members still don't see ads or have them in our own journals.

I think the difference was that ads were recently added to additional page views of Basic and Plus journals, as (I think) they only appeared on Recent Pages before.

That function doesn't appear to be in your theme layer; you'll have to copy & paste it out of the layout source and remove the rules from there.
Sep. 5th, 2008 07:01 pm (UTC)
SWEET! They're gone! Thanks so much!
( 21 comments — Leave a comment )

Latest Month

March 2016

S2 Help Communities


Powered by LiveJournal.com
Designed by chasethestars