[personal profile] runpunkrun posting in [community profile] style_system
Hi folks, I'm using Modish set to two columns, but what I'd like to do is move one of my modules up to the top and have it display horizontally, which isn't an option in the wizard as far as I can see.

So my question is: Is it possible to make the navlink module horizontal? I want it directly under my header as a line of links, not the vertical stack in the sidebar it is now.

Any help is appreciated!

Date: 2011-12-23 08:22 pm (UTC)
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)
From: [personal profile] ninetydegrees
It is possible with CSS with something like:

.module-navlinks {
position: absolute;
top: 8em;
right: 0;
}

.module-navlinks * {
display: inline !important;
}

#header {
padding-bottom: 3em;
}

You may need to adjust some values depending on your font size. Also, with this method it doesn't always display fine in all sorts of resolutions and font sizes. The other method is via advanced customizations and a layer. If that's what you'd rather do I can try and see what I can come up with.

Date: 2011-12-23 08:35 pm (UTC)
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)
From: [personal profile] ninetydegrees
You're most welcome!

Date: 2011-12-27 05:02 pm (UTC)
independence1776: Drawing of Maglor with a harp on right, words "sing of honor lost" and "Noldolantë" on the left and bottom, respectively (Default)
From: [personal profile] independence1776
This is exactly what I was looking to do as well. My question now is, would this work on a one-column Tranquility III style? ( I know nothing about CSS. If I need to do more than copy/paste, I'll be lost.)

Date: 2011-12-27 07:34 pm (UTC)
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)
From: [personal profile] ninetydegrees
I see yours is already in the header because you're in one-column-split mode. Assuming you want to display the links on one line, you only need this:

.module-navlinks li {
display: inline;
}

If there's anything else, let me know. :)

Date: 2011-12-28 02:52 am (UTC)
independence1776: Drawing of Maglor with a harp on right, words "sing of honor lost" and "Noldolantë" on the left and bottom, respectively (Default)
From: [personal profile] independence1776
Yes! Thank you! That's exactly what I wanted to do. :D

Now, completely extra, is there a way to add a little bit of space between the words? Even if there isn't, I'm ecstatic about this. My journal's finally looking how I want it.

Date: 2011-12-28 07:13 am (UTC)
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)
From: [personal profile] ninetydegrees
You're welcome!

Sure, try this instead:

.module-navlinks li {
display: inline;
padding-right: .5em;
}

You can decrease or increase the number in padding if it's too much or not enough.

Date: 2011-12-28 04:46 pm (UTC)
independence1776: Drawing of Maglor with a harp on right, words "sing of honor lost" and "Noldolantë" on the left and bottom, respectively (Default)
From: [personal profile] independence1776
That's perfect!

Thank you so, so much! :D

Date: 2011-12-28 09:54 pm (UTC)
ninetydegrees: Art: does and waterfall (dear deer)
From: [personal profile] ninetydegrees
Glad I could help!

Date: 2013-09-19 05:01 pm (UTC)
From: [personal profile] merms
If I may resurrect a very old entry here, that I found through google...

Would you be willing to walk me through creating a layer for this kind of thing? I'd like to have the custom text module display at the top horizontally, like an introductory paragraph.

Date: 2013-09-19 06:03 pm (UTC)
ninetydegrees: Art & Text: heart with aroace colors, "you are loved" (Default)
From: [personal profile] ninetydegrees
Hey, sure. Is this for your current style and theme?

Profile

Dreamwidth style system discussion

April 2025

S M T W T F S
  12345
6 78910 1112
13 141516171819
2021 2223242526
27282930   

Page Summary

Style Credit

Expand Cut Tags

No cut tags
Page generated Jun. 3rd, 2025 10:58 pm
Powered by Dreamwidth Studios