![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
![[community profile]](https://www.dreamwidth.org/img/silk/identity/community.png)
Hello, I was hoping you'd be able to help me customize this layout further since the layout maker wasn't able to help. Once it's done, the layout will be changed significantly. I'm having trouble figuring some things out.
- There's a blank space to the right of the entries and I can't find out what's causing it. I changed the body background color so that it can be seen better.
- I originally thought I would need to change the width of the entries, and the maker suggested changing the following piece of code:
#content {
margin: 0 0;
position: relative;
width: 80%;
float: right;
padding-bottom: 20px;
}
from 80% to 100%, but that pushes the entries to the right and sidebar down. Entries are also narrower on the comment pages and I would like to at least reduce the size of the comments. I'm viewing this on my laptop and 1280x768 resolution, but would like the layout to work on a 1024x768 and 1289x1024 resolutions as well.
- The original css has even and odd entry and comment wrapper etc; are these necessary or redundant??
- I'd like to be able to style the multilevel tags which are not styled in the css, but was unable to find the proper ids/classes; it might be I just don't know where to search.
- Userpics don't look quite as intended in the original, which doesn't have Previous/Next links; since I do, they overlap and I had to lower them down. They really bother me, especially in the comments! I'd much rather have them inside the upper right corner.
- And I'd like to remove the underline for entry management links, as well as tags (both in entries and sidebar, but have a dotted underline for links in actual entries.
Original CSS:
Customized:
And you're probably thinking, Demanding, isn't she?
- There's a blank space to the right of the entries and I can't find out what's causing it. I changed the body background color so that it can be seen better.

- I originally thought I would need to change the width of the entries, and the maker suggested changing the following piece of code:
#content {
margin: 0 0;
position: relative;
width: 80%;
float: right;
padding-bottom: 20px;
}
from 80% to 100%, but that pushes the entries to the right and sidebar down. Entries are also narrower on the comment pages and I would like to at least reduce the size of the comments. I'm viewing this on my laptop and 1280x768 resolution, but would like the layout to work on a 1024x768 and 1289x1024 resolutions as well.
- The original css has even and odd entry and comment wrapper etc; are these necessary or redundant??
- I'd like to be able to style the multilevel tags which are not styled in the css, but was unable to find the proper ids/classes; it might be I just don't know where to search.
- Userpics don't look quite as intended in the original, which doesn't have Previous/Next links; since I do, they overlap and I had to lower them down. They really bother me, especially in the comments! I'd much rather have them inside the upper right corner.
- And I'd like to remove the underline for entry management links, as well as tags (both in entries and sidebar, but have a dotted underline for links in actual entries.
Original CSS:
Customized:
And you're probably thinking, Demanding, isn't she?
no subject
Date: 2010-06-06 03:27 pm (UTC)I did edit my layer twice, I think, following instructions in porting an LJ style, and the second time to try out something from
no subject
Date: 2010-06-06 03:38 pm (UTC)This is the code to reorder your currents/tags. It moves the tags text out of the entry footer, and to above the other metadata. (That means that the previous sample CSS I gave you will no longer work, btw *g*)
You'll need to make sure to create a new theme layer and add it to your style (if you use an existing wizard layer, the changes will be lost when you next use /customize/options). Just copy and paste it in:
To edit the text, go here:
http://www.dreamwidth.org/customize/options?group=text
Click on the "Entry" header; that will open up, and you'll see the "Current Music/Mood/Location"
To add some spacing, use this CSS (you can put it where you usually do *g*) (Note that this adds some space, even if there's no metadata on the entry)
.entry .footer { margin-top: 1em; }
To style the entry metadata and tags, for color and stuff, start with this code:
.entry .tags { /* stuff goes here */}
.entry .metadata { /* stuff goes here*/}
And let me know if you run into any other issues!
no subject
Date: 2010-06-06 04:21 pm (UTC)no subject
Date: 2010-06-06 04:24 pm (UTC)That won't remove the stuff in the CSS box (those are all saved in a wizard layer -- which you shouldn't ever need to touch )
no subject
Date: 2010-06-06 04:30 pm (UTC)S2 Compiler Output at Sun Jun 6 16:28:58 2010
Error compiling layer:
Compile error: line 22, column 9: Unknown property
S2::NodeVarRef, S2/NodeVarRef.pm, 171
S2::NodeTerm, S2/NodeTerm.pm, 174
S2::NodeTerm, S2/NodeTerm.pm, 66
S2::NodeEqExpr, S2/NodeEqExpr.pm, 49
S2::NodeExpr, S2/NodeExpr.pm, 46
S2::NodeIfStmt, S2/NodeIfStmt.pm, 79
S2::NodeStmtBlock, S2/NodeStmtBlock.pm, 108
S2::NodeFunction, S2/NodeFunction.pm, 230
S2::Checker, S2/Checker.pm, 374
S2::Compiler, S2/Compiler.pm, 34
Context
18: """
19: """
20: $e->print_userpic();
21: $e->print_poster();
22: if ($*entry_metadata_position == "top") { $e->print_tags(); $e->print_metadata(); }
23: $e->print_text();
24: if ($*entry_metadata_position == "bottom") { $e->print_tags(); $e->print_metadata(); }
25: """
26: """
no subject
Date: 2010-06-06 04:33 pm (UTC)Remove this line:
if ($*entry_metadata_position == "top") { $e->print_tags(); $e->print_metadata(); }
Change this line:
if ($*entry_metadata_position == "bottom") { $e->print_tags(); $e->print_metadata(); }
to:
$e->print_tags();
$e->print_metadata();
no subject
Date: 2010-06-06 04:38 pm (UTC)S2 Compiler Output at Sun Jun 6 16:36:28 2010
Error compiling layer:
Compile error: line 47, column 32: Unknown property
S2::NodeVarRef, S2/NodeVarRef.pm, 171
S2::NodeTerm, S2/NodeTerm.pm, 174
S2::NodeTerm, S2/NodeTerm.pm, 66
S2::NodeEqExpr, S2/NodeEqExpr.pm, 49
S2::NodeExpr, S2/NodeExpr.pm, 46
S2::NodeTerm, S2/NodeTerm.pm, 85
S2::NodeTerm, S2/NodeTerm.pm, 66
S2::NodeCondExpr, S2/NodeCondExpr.pm, 50
S2::NodeExpr, S2/NodeExpr.pm, 46
S2::NodeVarDeclStmt, S2/NodeVarDeclStmt.pm, 54
S2::NodeStmtBlock, S2/NodeStmtBlock.pm, 108
S2::NodeIfStmt, S2/NodeIfStmt.pm, 92
S2::NodeStmtBlock, S2/NodeStmtBlock.pm, 108
S2::NodeFunction, S2/NodeFunction.pm, 230
S2::Checker, S2/Checker.pm, 374
S2::Compiler, S2/Compiler.pm, 34
Context
43: }
44:
45: function Entry::print_metadata() {
46: if (size $.metadata) {
47: var string position = ($*entry_metadata_position == "top") ? " top-metadata" : " bottom-metadata";
48: """
\n""";
49: foreach var string m (["music", "mood", "groups", "xpost", "location"]) {
50: if ($.metadata{$m} == "") { continue; }
51:
no subject
Date: 2010-06-06 04:40 pm (UTC)Okay, I think this should catch it:
var string position = ($*entry_metadata_position == "top") ? " top-metadata" : " bottom-metadata";
Then look for somewhere where it says "metadata$position" and change that to just "metadata".
no subject
Date: 2010-06-06 05:14 pm (UTC)Gosh, I went to do all the customizations and left this open without posting. :facepalm: In any case, I am extremely pleased with the result. ♥ I would really like to learn all this, but it's a challenge finding enough time to sleep right now. You guys aren't going anywhere, right?
no subject
Date: 2010-06-06 05:15 pm (UTC)