[personal profile] stars_in_your_soul posting in [community profile] style_system
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

Date: 2010-09-10 03:41 pm (UTC)
ninetydegrees: Art: self-portrait (Default)
From: [personal profile] ninetydegrees
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.

Date: 2010-09-10 03:46 pm (UTC)
ninetydegrees: Art: self-portrait (Default)
From: [personal profile] ninetydegrees
You're welcome.

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

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

Profile

Dreamwidth style system discussion

July 2025

S M T W T F S
  123 45
6789101112
13141516171819
20212223242526
2728293031  

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 1st, 2025 02:21 pm
Powered by Dreamwidth Studios