[personal profile] carisma_sensei posting in [community profile] style_system
Hi! I'm having a bit of a problem here. I wanted to edit a layout I made for a friend to use on her community. It has a fixed navigation at the bottom of the page which I don't know if could be causing this problem, but the sidebar looks right on recent entries page but it looks wonky everywhere else.

I have it testing here so you can look through the css. If you could help me out a bit D: I would be very grateful.

Date: 2017-07-07 10:53 am (UTC)
vorador: (Default)
From: [personal profile] vorador
i don't know if this is what's causing the problem, but the top margin for .module-section-two is too high and it pulls the sidebar way up and out of the viewport.

Date: 2017-07-07 01:28 pm (UTC)
vorador: (Default)
From: [personal profile] vorador
i think the positioning problem might be because of the header, but i'm not sure. i don't know what you mean when you say it looks off, though. this is what the recent entries page looks like to me without any css tweaks on my end and this is what it looks like with the sidebar top margin set lower (-400px).

Date: 2017-07-08 12:48 pm (UTC)
rosecarmine: (Default)
From: [personal profile] rosecarmine
Dear, you don't need to use margins for the sidebar since you already used "position:absolute". Replace "margin-top" and "margin-left" with "top" and "left" and add "position:relative" to #wrap.

#wrap {
margin: 0 auto;
padding:0px;
position:relative;
}

.module-section-two {
position: absolute;
top: 0;
left: 100px;
width: 200px;
padding: 10px;
color: #000000;
background: transparent;
/* this must stay at the bottom of this code as in some circumstances
it closes one declaration and opens another one */
}

Date: 2017-07-13 05:36 pm (UTC)
rosecarmine: (Default)
From: [personal profile] rosecarmine
I'm sure there is. How much higher do you wish to move the sidebar? Do you have, by any chance, a screenshot of the recent entries page where it looked the way you wanted?
Aww, you don't owe me anything. It's my pleasure. <3<3

Date: 2017-11-02 12:34 pm (UTC)
rosecarmine: (Default)
From: [personal profile] rosecarmine
Dear, I'm so sorry for the late reply, I've been so busy with work. :(
You could add a negative margin now, maybe -20px or so.

Profile

Dreamwidth style system discussion

October 2025

S M T W T F S
   1 234
567891011
12131415161718
19202122232425
262728293031 

Style Credit

Expand Cut Tags

No cut tags
Page generated Oct. 19th, 2025 12:20 am
Powered by Dreamwidth Studios