nightowl: Detail of "Boreas" by J.W. Waterhouse.  (Default)
彌生 ([personal profile] nightowl) wrote in [community profile] style_system2009-07-24 03:01 pm

Subtitles in Transmogrified

Hi all,

Does anyone know how to get the Transmogrified theme to display the journal subtitle? I've been looking and looking for CSS that would do this, since I figured it'd be relatively simple, but apparently not? I would appreciate any help that is offered. Thanks so much!
branchandroot: oak against sky (Default)

[personal profile] branchandroot 2009-07-24 07:36 pm (UTC)(link)
ETA: Bugger! The anchor tags were, of course eaten. Let me try to put code tags around that...

ETA2: ...I really hate this about our journals. Okay, I'm adding spaces to the anchor tags; you will have to take them out or your title won't link properly!

As Adalger says, it's the Page::print function you will need to copy and paste. If you look at the code of Transmogrified here, it's the very first thing called a "function", right after all of the properties. You will need to copy that function (from "function" down to the last "}" before the next function) and paste it into a theme layer.

To make a theme layer, go to Advanced Customization and click on "Your Layers" down at the bottom. Now go to the bottom of the Layers page to "Create a layout-specific layer". Set the dropdowns to "theme" and "Transmogrified" and hit create. The page will reload and now, in the table under Your Layers will be an unnamed theme layer. Hit the "edit" button next to that.

Now you're in a weird looking page with three windows. In the biggest window (top right) paste the Page::print function. Hit "Save and Compile" up at the very top.

Now you need to edit the function just a little. Look down a bit to where it says:

"""
< a name="top" >
""";
$this->print_global_title();
"""
< /a >

""";

You will want to edit that, adding the code """; $this->print_global_subtitle(); """ underneath the < /a > for $this->print_global_title();. So the section will now look like this:

"""
< a name="top" >
""";
$this->print_global_title();
"""
< /a >
""";
$this->print_global_subtitle();
"""

""";

Save and Compile again. Now hit the back button until you get out of the gray page! You'll need to go to the Select Style area and select your new layer as the Theme you are using. The easy way to find it is to hit "Your Custom Layers" in the side navigation.
Edited 2009-07-24 19:38 (UTC)
branchandroot: oak against sky (Default)

Re: Whoot!

[personal profile] branchandroot 2009-07-24 08:26 pm (UTC)(link)
My pleasure!
snakeling: Statue of the Minoan Snake Goddess (Default)

[personal profile] snakeling 2009-07-24 10:01 pm (UTC)(link)
Let me introduce you to the HTML-for-LiveJournal Modification Tool. It's a life saver :D
branchandroot: oak against sky (Default)

[personal profile] branchandroot 2009-07-24 10:03 pm (UTC)(link)
Ha! *adds this to her browser bar* Thanks!