Sidebar wonky on reading and tags page

2017-Jun-27, Tuesday 05:14 pm
[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.

Volunteer social thread #68

2017-Jun-15, Thursday 06:37 pm
dw_volunteers: "Home is where the heart is.", with heart as a drawing and the Dreamwidth logo name below. (Default)
[personal profile] pauamma posting in [site community profile] dw_volunteers
I'm enduring a heat wave.

What have you all been up to?

Question thread #53

2017-Jun-15, Thursday 08:32 pm
dw_dev: The word "develop" using the Swirly D logo.  (Default)
[personal profile] pauamma posting in [site community profile] dw_dev
It's time for another question thread!

The rules:

- You may ask any dev-related question you have in a comment. (It doesn't even need to be about Dreamwidth, although if it involves a language/library/framework/database Dreamwidth doesn't use, you will probably get answers pointing that out and suggesting a better place to ask.)
- You may also answer any question, using the guidelines given in To Answer, Or Not To Answer and in this comment thread.

How to move "back to top" jumplink with s2?

2017-Jun-14, Wednesday 01:37 am
[personal profile] marahmarie posting in [community profile] style_system

Hi, everyone. I've been meaning to ask this question for years: a long time ago [personal profile] foxfirefey gave me some code to have a "back to top" link with because Transmogrified didn't have one. Later on, she modified the code because it kept moving around on page re-sizing. Her mod solved that problem but possibly begat another: the jumplink doesn't clear short entries/pages with little content.

While this doesn't normally affect .page-tag, .page-icon, .page-archive, .page-recent, .page-read, or .page-network (but it could; the content on those views just happens to be long enough to clear the jumplink) it affects some .page-month views and short entries, reply views with short comments being replied to, reply views where the post and comment form combined won't clear the jumplink, and so on.

Here's an example of the problem in viewable action, seen in the month view.

In playing with the live HTML editor in Firefox the other night I realized I can make the jumplink clear - and stay in place - even with little page content present only if I put it in a pretty weird part of the HTML; it looks like I'd have to take it out of $this->print_body(); and move it to $this->print_module_section("two"); right before the <div style="clear:both"> that's there to clear the footer.

This is a screencap of where the jumplink would need to go, according to live HTML editing: https://marahmarie.dreamwidth.org/file/72191.png

My s2 layer is public and viewable here: my s2 layer.

That said, if anyone can think of a better spot for it in the s2, I'm open to any and all ideas! Fwiw, I've tried CSSing it into clearing but so far, without any luck.

I can't write original s2 nor modify s2 like this (only the simplest snippets of it; this unfortunately didn't qualify) so I'm curious if anyone knows how to move the jumplink without breaking other things (which I actually did three times before giving up the other night in live code: every time I went into our compiler and tried to move it where the HTML live editor seems to think it should go, my sidebar wound up resting in my content body, while my content got pushed clear off the top of the page, so whatever I was trying to do to get this right was not working).

Any help is gladly appreciated!

Page generated 2017-Jun-27, Tuesday 06:58 pm
Powered by Dreamwidth Studios