[personal profile] aidadesigns posting in [community profile] style_system
Hello all, I have a question about metadata and tags in Tabula Rasa brought on by trying out a brand new layout called Motion.

I see that someone's already asked about moving tags and mood to the top of the entries in Tabula Rasa, but there were no answers then (this was 2009). I am hoping someone will know the answer now.

I managed to move mood to the top by using the option in the Presentation section of Customize style (Place of metadata in entries = Before entry text), but I can't find how to do the same with tags. Can someone advise me how?

The layout I'm using also had .page-read .poster located below userpic, but it would break the entry text and its background would stretch all the way to the right side of the entry. It is possible to move it up by removing float:left, width:100% properties, but that doesn't align it with the left side of entries, and it overlaps it with mood. Is it possible to flush it all the way to the left, so that it sits above the userpic?

Thank you in advance for any help you can offer.

Date: 2011-12-24 10:51 pm (UTC)
stormy: βͺ ππŽπ“πˆπ‚π„ ❫ 𝑫𝑢 𝑡𝑢𝑻 𝑻𝑨𝑲𝑬 𝑴𝒀 𝑰π‘ͺ𝑢𝑡𝑺 ⊘ (Default)
From: [personal profile] stormy
As far as moving metadata (mood, music, etc. and not including tags as far as I know). There's an option in Tabula Rasa that's built in on http://www.dreamwidth.org/customize/options under Additional Options. It reads:

Place of metadata in entries:

With the options of: Before Entry Text or After Entry Text
Edited Date: 2011-12-24 10:52 pm (UTC)

Date: 2011-12-24 11:30 pm (UTC)
stormy: βͺ ππŽπ“πˆπ‚π„ ❫ 𝑫𝑢 𝑡𝑢𝑻 𝑻𝑨𝑲𝑬 𝑴𝒀 𝑰π‘ͺ𝑢𝑡𝑺 ⊘ (Default)
From: [personal profile] stormy
It'll probably have too many variables to do with CSS (problems with alignment, overlapping, etc. if you end up trying to use margins). That's the reason I never moved my own tags in my current layout. Perhaps submit a suggestion to have it added as an option?

Date: 2011-12-27 06:48 pm (UTC)
rainfall: A girl stands in the midst of fallen leaves. You can't see her face. (Default)
From: [personal profile] rainfall
For overlaps caused by floats -- I set my metadata and footer blocks to both have clear: left or clear: right (whichever was relevant, so that the entry would have to stretch appropriately and have them below an icon. But some use of clear seems like it would also help you with the overlaps?

Date: 2011-12-24 11:27 pm (UTC)
branchandroot: oak against sky (Default)
From: [personal profile] branchandroot
Moving the tags to the top is /possible/ to do with css, but it would be really kludgy. If you're willing to mess around with S2 layers, it would be a lot surer to actually put the line of code that says "generate tags here" in a different place within the entry-generating function. Not sure if you want to try that?

For .poster, it might actually be easiest to absolutely position it. If you give that container "position: absolute; top: 0; left: 0;" that should slot it in fairly neatly above the userpic. Give .contents "position:relative;" to make sure .poster is contained properly. You might then have to give .metadata a left margin, but I can't say for sure yet how that will stack up once .poster is taken out of the float equation. Currently you have two floated elements plus one unfloated one all stacking up on top of each other.

Date: 2011-12-25 12:05 am (UTC)
branchandroot: oak against sky (Default)
From: [personal profile] branchandroot
All right! This page will tell you about what layers are and how to make one. I think the best thing to do would be to make a theme layer as a child of Tabula Rasa. Into that, you should paste:

function Page::print_entry(Entry e)
"The meat of each new layout. Describes how each page will look. In nearly all cases, the logic and decision-making processes should come from pre-existing functions in core2, and should not get written here. If you limit the structure of the page to HTML, function calls, and attached CSS, then you will be able to pick up all of the enhancements and accessibility requirements managed by core2."
{
## For most styles, this will be overridden by FriendsPage::print_entry and such.
$e->print_wrapper_start();
"""
\n""";
$e->print_subject();
$e->print_metatypes();
$e->print_time();
"""
\n""";
"""
\n""";
"""
\n""";
"""
\n""";
$e->print_userpic();
$e->print_poster();
if ($*entry_metadata_position == "top") { $e->print_metadata(); }
$e->print_text();
if ($*entry_metadata_position == "bottom") { $e->print_metadata(); }
"""
\n""";
"""
\n""";
"""
\n""";

"""
\n""";
"""
\n""";
$e->print_tags();
$this->print_entry_footer($e);
"
\n
\n";

$e->print_wrapper_end();

}


and move the line $e->print_tags(); into the location you want it in. Maybe above or below the metadata "top" line. If you then name the theme something useful and select it as your Tabula Rasa theme, the tags will show up where you want them.

You'll either have to paste the Motion css into the user css box in the Customize section or else add this to your theme layer:

function Page::print_theme_stylesheet () {
"""

""";
}

And paste all the css in between those triple quote lines.

Date: 2011-12-25 12:42 am (UTC)
branchandroot: oak against sky (Default)
From: [personal profile] branchandroot
*fiddles some* Huh. It's working for me, so I'm thinking something must be off in the css processing. Make sure your layer is a child of Tabula Rasa, and try replacing what you have with this. This is the layer that's working for me: http://www.dreamwidth.org/customize/advanced/layersource?id=263310. Oh, and make sure you /don't/ uncheck "Use layout's stylesheet(s)".

Date: 2011-12-25 12:56 am (UTC)
branchandroot: oak against sky (Default)
From: [personal profile] branchandroot
Yes; whatever alterations you would make to a normal theme, you can make to this one. Width and columns and sidebar modules and so forth.

Once the css is part of the layer, you only need to put things you want to change into the Custom css box. You could also edit the css in the layer, but it's probably safer to put the changes in the Custom css box first to make sure they're what you want!

Date: 2011-12-25 01:11 am (UTC)
branchandroot: oak against sky (Default)
From: [personal profile] branchandroot
No problem!

To change the width, what you need to change is this line: "#canvas { width: 60em; }". Try something like "#canvas { width: auto; }" in your custom css. Don't change the width of #content, that will mess with the sidebar the way you're seeing.

You don't need to make the layer public if you don't want; that just means that other people can see it. You might want to keep it public for a little, in case you need more trouble-shooting, though!

Date: 2011-12-25 01:40 am (UTC)
branchandroot: oak against sky (Default)
From: [personal profile] branchandroot
Yeah, it looks like #primary also has a width. You can set #primary to width:auto, too, and that should make everything take up the space it has.

Date: 2011-12-25 01:51 am (UTC)
branchandroot: oak against sky (Default)
From: [personal profile] branchandroot
Yes, I do wonder there have been a few typos between her working copy and the shared copy recently If you add .module ul { list-style: none; } that will fix it.

Date: 2011-12-27 06:54 pm (UTC)
rainfall: A girl stands in the midst of fallen leaves. You can't see her face. (fallen leaves)
From: [personal profile] rainfall
Try adding !important to your width declaration -- like this: width: 25em !important;

For the padding, .module ul, .module ul li { padding-left: 0 !important; margin-left: 0 !important; }

That should knock the padding on its ass.

Date: 2011-12-27 07:04 pm (UTC)
rainfall: A girl stands in the midst of fallen leaves. You can't see her face. (Default)
From: [personal profile] rainfall
♥ Let me know if it helps!

Date: 2011-12-27 07:41 pm (UTC)
rainfall: A girl stands in the midst of fallen leaves. You can't see her face. (Default)
From: [personal profile] rainfall
Okay. It's currently up on your journal? Can you link me to what it's supposed to look like and maybe the original (LJ, I assume) code post?

Date: 2011-12-27 07:42 pm (UTC)
rainfall: A girl stands in the midst of fallen leaves. You can't see her face. (Default)
From: [personal profile] rainfall
Orrr, looking at your post more clearly... Haha. Okay. NOT LJ. And you already linked it. Give me a sec.

Date: 2011-12-25 10:41 pm (UTC)
branchandroot: oak against sky (Default)
From: [personal profile] branchandroot
*rueful* I've just gotten caught up in a big revision of submission guidelines for our official theme/layout comm, [site community profile] dreamscapes, and I won't have enough brain to help for a few days. You might want to make a new post here, and ask for help from someone else. Sorry!

On the bright side, I do have permission from the author to convert this to be an official theme, so it might be available with most of this stuff fixed soonish. The queue for layouts is awfully backed up, though, so don't hold out for that.

Date: 2011-12-25 12:06 am (UTC)
branchandroot: oak against sky (Default)
From: [personal profile] branchandroot
Oh, and I just thought! If you use a layer, you can also just put print->poster above the userpic in the layer and not have to mess with the css at all for that

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 31st, 2025 07:50 am
Powered by Dreamwidth Studios