sandywp / plugins / q2w3-fixed-widget
Fixed Widget and Sticky Elements for WordPress
More attention and a higher ad performance with fixed sticky widgets.
Ready in seconds.
v6.2.3 80,000+ installs WP 5.0+ PHP 7.2+

What you get inside
4 screens-
A fixed widget and a stop widget in action
-
Fixed Widget plugin options
-
Fixed Widget options for blocks in the widget editor
-
Fixed Widget option for legacy widgets
About this plugin
Use Fixed Widget to create sticky widgets, sticky blocks, and other elements that stay in the visible screen area when a user scrolls the page up or down.
Sticky widgets are more visible than unfixed widgets and therefore have a significantly higher click-through rate.
That’s why this option is worthwhile for ads or other elements that visitors should interact with. Meanwhile, Google also allows the integration of sticky AdSense ads.
Features
Fixed Widget is completely free of charge.
- Sticky Widgets Use the Fixed Widget option on any widget and blocks in the sidebar
- Sticky Elements Choose any element on your site and make it sticky
- Margin Top allows you to stop sticky elements to cover floating menu bars
- Margin Bottom pushes sticky elements up before they reach a certain distance towards the bottom window
- Stop Elements push sticky elements up when they are scrolling into view
- Stop Blocks defines blocks in your sidebar that push fixed blocks out of the page
- Minimum Screen Width and Minimum Screen Height allow you to disable sticky behavior on small screens
- Written in plain JavaScript for better performance
Compatibility
Theme requirements:
wp_head()andwp_footer()functions inheader.phpandfooter.phpfiles- JavaScript errors could break sticky widgets
Questions
- Why is the Fixed Widget plugin not working?
There are several reasons:
- Javascript errors on the page. Commonly caused by buggy plugins. Check javascript console of your browser. If you find errors, try to locate and fix its source.
- No
wp_head()andwp_footer()functions in template. Check header.php and footer.php files of your active theme. - Conflicts with other plugins and scripts
- CSS incompatibility
- Is it possible to fix multiple widgets?
Yes, it is possible to fix more than one widget even if they are located in different sidebars.
- How can I style a fixed element only while it is sticky?
Fixed elements carry the
FixedWidget__fixed_widget__pinnedclass, which allows developers to change the styling only while the element is fixed.- How to prevent overlapping with the footer?
Go to WP admin area, Appearance -> Fixed Widget. Here you can define the top and bottom margins. Set bottom margin value >= footer height. Check the result, please.
If your footer height is changing from page to page it is better to use theStop IDoption. Here you need to provide the HTML tag ID. The position of that HTML element will determine the margin bottom value. For example, let’s take the Twenty Sixteen default theme. The theme’s footer container has an ID=”colophon”. In theStop Element Selectorsoption I need to enter#colophon.- How to disable the plugin on mobile devices?
Use the options
Minimum Screen WidthandMinimum Screen Heightto disable sticky features when the browser window is too small. You can also use the visitor conditions of Advanced Ads to target specific devices.
sandywp / also on the shelf
Try another plugin
2.7 · 800K+ installs
Native integration with Google that allows merchants to easily display their products across Google’s network.
Ad Inserter – Ad Manager & AdSense Ads
4.9 · 300K+ installs
Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer code, PHP code,…
Head, Footer and Post Injections
4.9 · 200K+ installs
Head and Footer plugin lets you to add HTML code to the head and footer sections of your site pages, inside posts... and more!
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.