carisma_sensei: (Default)
Janna ([personal profile] carisma_sensei) wrote in [community profile] style_system2017-06-27 05:14 pm

Sidebar wonky on reading and tags page

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.
vorador: (Default)

[personal profile] vorador 2017-07-07 10:53 am (UTC)(link)
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.
vorador: (Default)

[personal profile] vorador 2017-07-07 01:28 pm (UTC)(link)
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).
rosecarmine: (Default)

[personal profile] rosecarmine 2017-07-08 12:48 pm (UTC)(link)
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 */
}
rosecarmine: (Default)

[personal profile] rosecarmine 2017-07-13 05:36 pm (UTC)(link)
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
rosecarmine: (Default)

[personal profile] rosecarmine 2017-11-02 12:34 pm (UTC)(link)
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.