Some easy centering questions

Feb 10, 2008 23:23

Hello everyone!

I was browsing teh community for some hours but never found the answer to my questions, so asking for help

What i was tryin to do: )

sidebar:profile, entries:header, entries:metadata

Leave a comment

av8rmike February 12 2008, 04:51:42 UTC
For #1 and #2:
.asset-meta-list {margin: 0 auto; width: 500px;}
Change the 500 to a number that will suit your link bar width.

#4:
.profile-name {display: none;}

#3 requires changing the code with a theme layer.

Reply

nerutsu February 12 2008, 12:24:53 UTC
if i put width more than 540, the line starts going to the left again :/

#4 worked, thanks

Reply

nerutsu February 12 2008, 12:28:07 UTC
more than 512px actually

Reply

av8rmike February 12 2008, 13:24:17 UTC
Yeah, the two problems with trying to center those lines are the fact that they're both in the same CSS class, inexplicably (.asset-meta-list), and that there are so many links in the entry link bar.

Reply

nerutsu February 12 2008, 20:24:46 UTC
Is there anything to do with it?

Reply

av8rmike February 12 2008, 23:13:54 UTC
You can try using this to push the date further to the right until it looks centered:
.asset-meta-list .item span {padding-left: 200px;}
Adjust the 200 until it looks like you want.

Reply


Leave a comment

Up