?

Log in

No account? Create an account

Previous Entry | Next Entry

Customizing colors and images

  • Sep. 1st, 2006 at 11:57 AM
Hi everyone!

I've never used an S2 layout before so I have some questions about customizing it. I will be using the layout for this account, and I've got a paid account. So here are some of my questions:

- How do I go about changing the colors of the entire layout?
- Relating to the above, is there some kind of default stylesheet for this layout that we can use and just change all the variables, and then have LJ use that modified version?
- Is there any way to remove the "Page Summary" block? I don't think I saw an option in the Customize section.
- Any way to remove the "add to memories" link under each entry?

I think those are my biggest questions right now. Any help would be appreciated! Thanks~

Comments

( 7 comments — Leave a comment )
nimoloth
Sep. 1st, 2006 07:10 pm (UTC)
• To change colours - you must override the stylesheet settings in Custom CSS.

• Default stylesheet: http://stat.livejournal.com/voxhtml/default/screen.css

If you have chosen a theme as well (e.g. I use Hills Green) it also has two stylesheets, one for the theme and one for the specific colour of it. This colour one is good for adjusting most (although not all) of the colours). The one for Green Hills is, for example, http://stat.livejournal.com/voxhtml/hills-green/screen.css .

• You can remove the page summary block here.

• To remove the memories tag would require customisation of the layout itself, by creating a custom layer, or cannibalising the layout into a totally new one in a new top level layer.

You could try creating a theme and putting this in it:


function Entry::print_linkbar() {
var Link link;
var string url = "";
var string text = "";

print """
\n""";
print """
    \n""";

    $.comments->print();

    var string{} link_caption = {
    "edit_entry" => $*text_edit_entry,
    "edit_tags" => $*text_edit_tags,
    "mem_add" => $*text_mem_add,
    "watch_comments" => $*text_watch_comments,
    "unwatch_comments" => $*text_unwatch_comments,
    };

    foreach var string link_key ($.link_keyseq) {
    $link = $this->get_link($link_key);
    if (defined $link) {
    $url = $link.url;
    $text = $link_caption{$link_key} != "" ? $link_caption{$link_key} : $link.caption;
    print """
  • $text
  • """;
    }
    }
    print """
  • $*text_permalink
  • """;
    println "\n
\n
\n";
}


but remove the line:


"mem_add" => $*text_mem_add,



nimoloth
Sep. 1st, 2006 07:11 pm (UTC)
[PS I haven't tried that last bit, but it's something like that, anyway. Also, I found when I tried to use a theme like that, it completely messed up the css overrides I'd already applied to Hills Green.]
gokumew2
Sep. 1st, 2006 07:17 pm (UTC)
Haha, I think I'll just forget about the last part. .^^;

Can I just choose no theme and start from there? Or is it easier to choose a theme and edit that?

I think you can only apply one custom stylesheet, so is it possible to put all the customizations in that one stylesheet?

Thanks!
nimoloth
Sep. 1st, 2006 07:54 pm (UTC)
I don't think it would make much difference either way whether you chose a specific theme to edit or not. Choosing a theme just adds on another stylesheet, however, this is useful for seeing some obvious colour overrides. I would suggest it might be best therefore to choose a theme and work from there, overriding it's css as required.

You can put as much as you like in one styelsheet - anything you put in it will override all previous ones the style uses, because it is last on the list when the page is created. Hence, cascading stylesheets.
princess_diary
Nov. 19th, 2006 04:23 am (UTC)
Hello

I'd like to change my background color of the entire layout. I tried clicking on the link for the default style sheet and I get an error, "Application not found."
Can you help?
Thanks
princess_diary
Nov. 19th, 2006 04:33 am (UTC)
Nevermind, I found the code. Thanks anyways.
transientmind
Sep. 3rd, 2006 04:00 am (UTC)
You can now remove the page summary or any other sidebar component on the customize page under custom options.
( 7 comments — Leave a comment )

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars