![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
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!
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!
no subject
Date: 2009-07-24 07:16 pm (UTC)no subject
Date: 2009-07-24 07:18 pm (UTC)no subject
Date: 2009-07-24 07:36 pm (UTC)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.
Whoot!
Date: 2009-07-24 08:18 pm (UTC)Re: Whoot!
Date: 2009-07-24 08:26 pm (UTC)no subject
Date: 2009-07-24 10:01 pm (UTC)no subject
Date: 2009-07-24 10:03 pm (UTC)no subject
Date: 2009-07-24 07:32 pm (UTC)Or is it better in a user layer?
no subject
Date: 2009-07-24 07:36 pm (UTC)To
no subject
Date: 2009-07-24 07:43 pm (UTC)no subject
Date: 2009-07-24 08:56 pm (UTC)no subject
Date: 2009-07-24 08:58 pm (UTC)no subject
Date: 2009-07-24 07:39 pm (UTC)no subject
Date: 2009-07-24 07:42 pm (UTC)no subject
Date: 2009-07-24 07:45 pm (UTC)no subject
Date: 2009-07-24 10:03 pm (UTC)no subject
Date: 2009-07-24 10:02 pm (UTC)no subject
Date: 2009-07-24 10:03 pm (UTC)no subject
Date: 2009-07-24 10:17 pm (UTC)no subject
Date: 2009-07-24 07:44 pm (UTC)no subject
Date: 2009-07-24 07:50 pm (UTC)no subject
Date: 2009-07-24 07:53 pm (UTC)A bit more padding than I like, but it's very much useless if the subtitle is never printed! I could make a patch for this insanely easily and maybe
no subject
Date: 2009-07-24 07:18 pm (UTC)The basic idea is, you create your own private version of Transmogrified, then go tinker with the style code to make it do what you want it to do.
no subject
Date: 2009-07-24 07:30 pm (UTC)In the meantime, I *can* tell you how to do it using layer overrides, if you're willing to be a little patient with me, since I've never instructed anybody in how to do it before. But I've gotten it working myself.
no subject
Date: 2009-07-24 08:21 pm (UTC)This is the fastest response I've ever gotten to a question online! For a while there, I couldn't keep up. ;) Thank you all for taking the time to help me out and point me in the right direction.