?

Log in

No account? Create an account

Previous Entry | Next Entry

How to..

  • Feb. 22nd, 2007 at 4:27 PM
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 here.

Link to the user layer:
http://www.livejournal.com/customize/advanced/layersource.bml?id=8174377&fmt=html


- How can I change the datetime format to: DAY MONTH DATE YEAR TIME? I tried using the DayPage function, other day and year functions along with the set day order property, but I doubt I did it correctly cuz nothing showed up when I viewed page source to see if the "yeardate" or "dayyymmmmmdddd" class IDs were there.

- I was trying to change the page-inner width to be less than 800px, so that people with smaller resolutions can see the body background, but then the sidebar ends up on the bottom of the page. I already tried changing both the beta and alpha inner widths, page-innner, content-inner and adding container with a width setting.

I'd also like to know:
- How to get the mood image to show up after the mood description. ie: Mood: good [IMAGE]

- How to center entry footer links? lj currents didn't work. It only centered the mood/loc.

And is it possible to have the Prev link NOT position at the top of the page or next to the nav links?

The most important issues right now is the date and mood. Appreciate any help. :D

Comments

( 14 comments — Leave a comment )
av8rmike
Feb. 22nd, 2007 09:52 pm (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 <UL>s don't seem to respond to positioning, but I can keep experimenting.
secretlyevileen
Feb. 22nd, 2007 11:01 pm (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.
av8rmike
Feb. 23rd, 2007 05:01 am (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. ;)
nimoloth
Feb. 23rd, 2007 06:32 pm (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.
nimoloth
Feb. 23rd, 2007 06:36 pm (UTC)
Actually, now that I look at it, I think I went into the code and made the footer links a new div called asset-meta-bottom, whereas asset-meta on it's own applies to the date/time as well.
av8rmike
Feb. 23rd, 2007 07:26 pm (UTC)
Yes, I was going to say "there's no .asset-meta-bottom in the default style sheet" and "that's why your journal doesn't look right!" =)
"Center" isn't a valid value for float:, so that won't work, either. But why do you say "float" doesn't work at all in IE? This page would seem to disagree, at least for more current versions.
nimoloth
Feb. 23rd, 2007 07:31 pm (UTC)
Well, the floats in my layout don't work on any IE I've tried, including the latest, and I've used floats in webpages and they still don't work out right in IE. I'll double check the latest IE when I've next got my laptop on (I'm on Linux here).
nimoloth
Feb. 23rd, 2007 07:32 pm (UTC)
In any case, I suppose you could center them another way by putting them into their own div.
secretlyevileen
Feb. 25th, 2007 03:25 am (UTC)
I wouldn't want to accidentally delete that stuff. And I didn't even realize my tags were gone. lol Thanks :)
av8rmike
Feb. 22nd, 2007 10:12 pm (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? ;)
secretlyevileen
Feb. 22nd, 2007 10:58 pm (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 :)
av8rmike
Feb. 22nd, 2007 11:36 pm (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.
secretlyevileen
Feb. 23rd, 2007 01:53 am (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
dusik_test
Jul. 26th, 2007 05:40 am (UTC)
Centering the footer links
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
( 14 comments — Leave a comment )

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars