[personal profile] pixellated
hi! here's what i'm trying to achieve: i want my journal's main page to display one entry (the most recent one), and i want that entry to be vertically centered, so that the distance from the top of the entry to the navstrip is the same as the distance from the bottom of the entry to the bottom of the page. here is a quick mockup of what i have in mind:


click here for fullsize

i've tried using margin: auto for this, but it didn't work; googling around leads me to believe that that's because the entry container is an inline element and thus doesn't have a specified height, which you need for that to work. i thought about using a flexbox inside the entry with three elements arranged in a column, with the middle element holding the actual contents of the entry and the top and bottom elements growing/shrinking to provide padding, to achieve something visually similar, but i don't think that would work either for the same reason (no specified height).

is there any way to do this? the theme i'm currently using is blanket, but i'm not married to it, so if there is a different theme that allows me to do this, i will happily switch.

thank you!

[personal profile] rosefox
This is extremely obscure, but in case it's been bugging anyone else who uses their reading page to read RSS feeds of WordPress blogs and occasionally suddenly has a page that's 10 million miles wide:

Add this to the CSS definitions section of your custom style.

.wp-caption {
max-width: 600px !important;
}


Problem solved.
[personal profile] alyndra
I made my layer years ago but it's not something I usually do or know much about. There's just one little issue where the fancy squiggle in the top right corner is always encroached on a little bit by the entry text boxes. How can I fix this? I don't much care if the entries get a little narrower or the squiggle does, whichever's easier.

Thanks in advance! You can click my name to see what I'm talking about.

P.S. If I wanted the background image 'fixed' to stay in view as I scroll down, what would be the right code to use for that?

Comment-width.

Jul. 1st, 2011 03:01 pm
tyger: Espeon (pokémon - espeon)
[personal profile] tyger
I've been trying to fix my comment-width - one of the major problems I find with the custom comment pages is the comments squidge up really really quickly - but even setting width with ems doesn't help if you're on a browser with a different window size.

So, mainly: is there a way where I can set comment width = post width?

I'd prefer to keep it that simple - having auto-resizing layouts is also good - but if it's impossible that's good to know, too.
[personal profile] valiha
Hello, I was hoping you'd be able to help me customize this layout further since the layout maker wasn't able to help. Once it's done, the layout will be changed significantly. I'm having trouble figuring some things out. The list is extensive, so I'd be grateful however much you're able to help me solve. )

Profile

Dreamwidth style system discussion

July 2025

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

Syndicate

RSS Atom

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 14th, 2025 11:25 am
Powered by Dreamwidth Studios