• Hi πŸ™‚

    This plugin is really awesome and work like a charm.
    There is just one issue I have : sometimes my fixed widget is really long (I use it for Tables of Content, that can be pretty long).

    The fact is that is the user want to see the end of my table of content, we have to go all the way down to the page. The widget isn’t display entirely, and he has to go down to see the last lines.

    I don’t know if there is any solution too this.

    I have an ergonomic suggestion but I think it need a lot of rewritting code so i don’t know if it’s possible.

    It could be cool if we could scroll along the sidebar.
    There will be two vertical scroll on page : one on top of the article (and when we gone, fixed widget too) and one on top of sidebar (when we scroll down, the position of the fixed widget change)

    This way, we could easily see the end of a fixed widget too long, no matter our position on the page.
    If you scroll down with the mouse on top the sidebar fixed widget, it’s the only thing to scroll, until the bottom of the widget appears (we can imagine an opposite behaviour for scroll up), and if you then scroll with the mouse on top of the article, the fixed widget follows, keeping it’s new defined by user relative position.

    Sure it will need some kind of limitation to not go on top of other widget, or to not become invisible etc…
    But i think it’s an ergonomic way to deal with too long widgets.
    Users tends to scroll on top of truncated by browser height content, and actually, we have to scroll down all the way down the page to see the rest of the fixed wiget πŸ˜›

    I don’t know if it’s possible, but I wanted to share with you my idea πŸ™‚
    What do you think of that ?

    Thanks for your awesome plugin, and thanks for listening πŸ™‚

    https://wordpress.org/plugins/q2w3-fixed-widget/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Max Bond

    (@max-bond)

    It could be cool if we could scroll along the sidebar.

    Well, you can do it with help of CSS!
    There is overflow property which can be used to add scrollbar (vertical, horizontal or both) to any html block.
    So you need to assing fixed height to you widget. Then add overflow property:

    #widget_id {
      height: 400px;
      overflow-y: scroll;
    }

    overflow-y means only vertical scroll allowed!

    Thread Starter X-Raym

    (@x-raym)

    Thanks, that’s do the trick πŸ˜›

    I prefer ‘max-height:400px;’ cause sometines the widget is very short (two titles), and ‘overflow:auto’ (cause i don’t always need scroll for same reasons) πŸ™‚

    Do you know if it’s possible to have this with widget height based on navigation height ? (dynamic height)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sidebar Widget too Long ?’ is closed to new replies.