[personal profile] nightowl posting in [community profile] style_system
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!

Date: 2009-07-24 07:36 pm (UTC)
branchandroot: oak against sky (Default)
From: [personal profile] branchandroot
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 Date: 2009-07-24 07:38 pm (UTC)

Re: Whoot!

Date: 2009-07-24 08:26 pm (UTC)
branchandroot: oak against sky (Default)
From: [personal profile] branchandroot
My pleasure!

Date: 2009-07-24 10:01 pm (UTC)
snakeling: Statue of the Minoan Snake Goddess (Default)
From: [personal profile] snakeling
Let me introduce you to the HTML-for-LiveJournal Modification Tool. It's a life saver :D

Date: 2009-07-24 10:03 pm (UTC)
branchandroot: oak against sky (Default)
From: [personal profile] branchandroot
Ha! *adds this to her browser bar* Thanks!

Profile

Dreamwidth style system discussion

September 2025

S M T W T F S
 123456
78 910111213
14151617181920
21222324252627
282930    

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 15th, 2025 08:51 am
Powered by Dreamwidth Studios