The Floating block module allows you to keep html blocks, selected using jquery selectors in a fixed position on the page as you scroll. It works in a similar way the table header fixer in Drupal Core. This means that when the user scrolls their browser selected parts of the page can stay in the users view.
This is extremely useful when you have pages with lots of content and you want a side menu to stay in view.
Typical block selectors
Default theme block selectors in Drupal are:
#sidebar-leftFloat the left sidebar.primary-linksFloat the primary menu.block-userFloat the user login block
The important thing is to look at the html Drupal is generating for your page and look at the id or class of the element your want to float. Find out more about jQuery selectors... Additionally another very useful tool (if you are using Firefox) is Firebug.
Project information
- Project categories: Accessibility, Administration tools, Content display
- Ecosystem: Floating block, Utilities
2,680 sites report using this module
- By alexpott on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.

