Want to create fixed (sticky) non scrolling sidebars.

  • Author
    Posts
  • #39707

    Can anyone suggest some method code or otherwise to make Mantra sidebars stick and stay in place while the rest of page is free to scroll. I have one page of content that extends below the browser bottom border and while the user scrolls down I’d like to keep the sidebar options visible and selectable.

    #39708

    (just added ‘notify me of follow-up reply’)

    • This reply was modified 7 years ago by mapperboy. Reason: -
    #39802

    Workaround to my quest…
    Found a good plugin – https://wordpress.org/plugins/q2w3-fixed-widget/
    Its simple to use. After installing it, under Appearance->Widgets, there are check boxes labelled “Fixed Widget” displayed under each widget so that each widget can be ‘fixed’ or floated separately. On our site rtfzine.org I also installed Display Widgets from https://wordpress.org/plugins/display-widgets/ which allows each page to have it’s own selection from your available widgets -or NO widgets at all displayed. This is probably an overkill workaround to our need to have a special piece of floating text appear on only one page. Using Display Widgets I’ve created a widget which is just plain text which will display a message on just one page. I did this because all the other floating element plugin I found required a unique document element ID and I don’t know how to determine Mantra element IDs. There is probably a custom CSS snippet which could be included in the Mantra Options->Miscellaneous Settings section?
    If anyone can tell me now to determine the element ID or tags that Mantra’s PHP dynamically generates On-Load I would be very appreciative.
    Cheers,
    -Mike

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Want to create fixed (sticky) non scrolling sidebars.’ is closed to new replies.