How to..

Feb 22, 2007 16:27

Hi :) New to expressive, but not custom themes, html or css. Your comm has been very helpful with getting started. :D

browser: firefox
paid account

No theme selected, I'm using the user layer and an external stylesheet which you can view hereLink to the user layer ( Read more... )

entries:linkbar, entries:timestamp, entries:metadata, page:size

Leave a comment

Comments 14

av8rmike February 22 2007, 21:52:46 UTC
Heh, simulpost! ;) For the width issues, check out the post I just made.
Date and time was covered a while ago; look under the date/time tag.
I've had problems centering the entry footer links too; For some reason
    s don't seem to respond to positioning, but I can keep experimenting.

Reply

secretlyevileen February 22 2007, 23:01:26 UTC
Cool, thanks. I've put text-aling center on almost every damn class that seemed relevant to the footer. I'll keep experimenting too.

Reply

av8rmike February 23 2007, 05:01:48 UTC
Still coming up with nothing on centering the entry footer links, because any changes I make also affect the date and time position. That's something I'll have to blame on the Vox developers, because it's completely inexplicable why they're the same class. =(

Also, I hope you don't mind my snooping, but I noticed a couple of problems in your code. First, I would change the layer to a theme layer, not a user layer. Function overrides aren't supposed to go in user layers, and if you accidentally change something with the wizard, it will delete that user layer and replace it with its own. Just change the type in the first line to "theme" and add set base_theme = "__none"; to not load the theme style sheets.
Secondly, you didn't copy the part of the metadata function that prints the tags. Maybe this was intentional, but I just thought I'd point it out. There are easier ways to disable tag printing. ;)

Reply

nimoloth February 23 2007, 18:32:34 UTC
I made the footer links move the the right with this:

.asset-meta-bottom { margin: 0 0 .75em; float: right; position: relative; bottom: 27px; }

The float tag is the key. Perhaps "float: center;" would center them. However, I suspect it also affects the date/time, and float doesn't work on IE at all, so if I look at my journal on IE the links and date/time are stuck underneath the mood etc. and title.

Reply


av8rmike February 22 2007, 22:12:51 UTC
I forgot the metadata thing. Copy the Entry::print_metadata() function into your layer and look for the line:
$val = " $.mood_icon " + $val;
Change it to:
$val = $val + " $.mood_icon ";
Tricky, huh? ;)

Reply

secretlyevileen February 22 2007, 22:58:14 UTC
lol yeah ;P I looked over the whole functions list and completely skipped over it. gets kinda muddled after staring at the page for so long. hehe

in general with using functions... to change things is it always just a matter of switching values around?

thanks :)

Reply

av8rmike February 22 2007, 23:36:36 UTC
in general with using functions... to change things is it always just a matter of switching values around?

Um... I don't know how to answer that. Sometimes? It depends on what is changing. Modifying that function to change the order of the metadata is not a trivial exercise.

Reply

secretlyevileen February 23 2007, 01:53:17 UTC
Oh, well that's okay. I was curious (not about metadata, function scrips in general), so I could fool around with a few things one day... to learn what does what.

Modifying that function to change the order of the metadata is not a trivial exercise.

Obviously, when it's all laid out for you. :P

Reply


Centering the footer links dusik_test July 26 2007, 05:40:35 UTC
NOT the most beautiful solution, but this is what I found so far:

.asset-meta-list,
.comment-links {
text-transform : lowercase;
margin-left: 130px;
}

basically, I just played with the left margin to move those links away from the left border... doesnt look good, but this is better for me

Reply


Leave a comment

Up