I've some passages that open to lots of text, I'd like it so it scrolls to the bottom of the screen to see the passage without having to use the scroll bar. It's not a huge thing but something that would allow the flow of the story to keep. I tried a few things for CSS but none worked. I'm at a loss.
I am also trying to remove the side navigation so they can't go back.
I tried
#sidebar {display: none;
}
and
tw-sidebar:
{display: none;}
but neither work. Any suggestions what I can do to fix it?
Comments
Your second example was close except it has an unwanted colon at the end of the CSS selector. Try
When you say you want the new page to auto scroll to the bottom, do you mean:
1. The last line of text of the passage's content is visible even if that content is longer than the page's current height, which could result in the first line(s) of text not being visible.
2. Once the page is shown you want it to automatically begin scrolling upwards if the passage content is longer than the page's current height, and you want that scrolling to continue until the last line of text is displayed.
I'm not sure if I'm making sense or if it sounds logical in my own head. lol I appreciate the help, none-the-less
There are two issues with this:
1. As far as I know there is no Twine 2 story format that implements Endless-Page.
2. As far as I know there is no reliable method to keep the bottom of a HTML page always in focus, all the CSS and/or Javascript implements I looked at had limitations.
note: I have limited knowledge of both CSS and Javascript so maybe one of the more experienced coders might have a better answer.