marahmarie: my initials (MM) (Default)
[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!

Profile

halloranelder: (Default)
Random

July 2016

S M T W T F S
     12
3 456789
10111213141516
17181920212223
24252627282930
31      

Most Popular Tags

Page generated Jun. 24th, 2017 08:37 pm
Powered by Dreamwidth Studios

Desert Rose

I dream of rain
I dream of gardens in the desert sand
I wake in vain
I dream of love as time runs through my hand

I dream of fire
Those dreams that tie two hearts that will never die
And near the flames
The shadows play in the shape of the man’s desire

This desert rose
Whose shadow bears the secret promise
This desert flower
No sweet perfume that would torture you more than this

And now she turns
This way she moves in the logic of all my dreams
This fire burns
I realize that nothing’s as it seems

I dream of rain
I dream of gardens in the desert sand
I wake in vain
I dream of love as time runs through my hand

I dream of rain
I lift my gaze to empty skies above
I close my eyes
The rare perfume is the sweet intoxication of love

I dream of rain
I dream of gardens in the desert sand
I wake in vain
I dream of love as time runs through my hand

Sweet desert rose
Whose shadow bears the secret promise
This desert flower
No sweet perfume that would torture you more than this

Sweet desert rose
This memory of hidden hearts and souls
This desert flower
This rare perfume is the sweet intoxication of love

Style Credit

Expand Cut Tags

No cut tags