stars_in_your_soul: (Default)
Stars in Your Soul ([personal profile] stars_in_your_soul) wrote in [community profile] style_system2010-09-10 09:53 am
Entry tags:

Modular Style Question

How do I make the navigation links(recent entries, tags, etc) be in the center of the header instead of on the right? I've been looking at the source code for my layout for a while now, and I can't figure it out. :(

Thanks if you can help!

-Merry
ninetydegrees: Art: self-portrait (Default)

[personal profile] ninetydegrees 2010-09-10 03:41 pm (UTC)(link)
This module is absolutely positioned. Long story short: it's been moved in the source code but we've kept the styling as it is although it's no longer necessary; that could be something that will be changed at some point. Anyways, this CSS worked for me:

#header .module-navlinks {
left: auto;
position: relative;
right: auto;
text-align: center;
top: 0;
}

However, it placed the list a bit lower in the header. I haven't figured out how to change that yet.
ninetydegrees: Art: self-portrait (Default)

[personal profile] ninetydegrees 2010-09-10 03:46 pm (UTC)(link)
You're welcome.

If anyone else's wondering how to push the list up, this did the trick for me:

#header {
padding-top: .75em;
}