彌生 (
nightowl) wrote in
style_system2009-07-24 03:01 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
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!
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
no subject
no subject
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!
Re: Whoot!
no subject
no subject
no subject
Or is it better in a user layer?
no subject
To
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
no subject
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
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
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
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.