Last Updated on
The blog sidebar is the best place to show some of your great content and recommend tested products to your readers. It can also be used to show notes to your readers, but sometimes, you need to make a single widget or a box in a fixed position. So, when people scroll down, they still see that widget.
Today, I’ll show you a simple way to set a fixed widget position in WordPress. You don’t have to edit anything in your blog or theme code, it’s simple, thanks to a helpful plugins developed to make your sidebar widgets in a fixed position with just a simple checkbox click.
Our plugin for today is the Q2W3 Fixed Widget (Sticky Widget), it’s the only high quality and free plugin that allows you to select which widget to set as fixed. I’ve seen some widgets for a fixed sidebar, but they’re doing a bad job, they load slower when you scroll down the page.
No to use the Fixed widget plugin, you need to install it first.
- jQuery 1.7 is required, jQuery 1.8.3 (or later) is recommended
- The header.php and the footer.php files need to contain the functions wp_head() and wp_footer()
- Widgets must have an ID attribute
Installing Q2W3 Fixed Widget
You can also search the plugin directly in your WordPress plugin search box, just type “Q2W3 Fixed Widget (Sticky Widget)” and hit enter. Then, install and activate the plugin, and all is done.
To adjust the position and some other settings, you need to find the plugin setting page first, it’s located under ”Appearance”, then ”Fixed Widget Options”.
The Fixed widget options allow you to define the top and the bottom margins to make the widget in the exact position, in the sidebar. You can use the setting appearing in the below screenshot to help get a great fixed widget settings.
The ”1500 milliseconds” is the interval of time between updating the position when scrolling the page. With that number, your widget will set to keep the same position, even, when the visitor scroll the page fast, it’s a reaction in real-time. I recommend letting the settings as I mentioned above.
If your theme is different from normal layouts, you can change the top and the bottom margins, to adjust the appearance. You can do that directly from your dashboard, or, from your browser. You just need to make sure that the theme and the plugin work normally without problems.
Using the Q2W3 Fixed Widget
The plugin will fix any checked widget in the Widgets page. So, open the widgets page first, then locate the widget that you want to make in a fixed position. Please remember that you need to make that widget the last one, in the sidebar.
The best thing about this plugin is that you can make individual selection of widgets that you want to be in a fixed position. But remember, that you need to have a maximum number of fixed widget, or, your sidebar will look broken.
In other cases, the theme itself can cause a problem with your fixed widget. Make sure to verify if your theme supports the fixed widget option or not before buying the theme.
Thus, you avoid some issues later and keep your theme fully functional with that plugin. But in general all themes are working normally with this tool and no issues will be there.
WordPress sidebars allow visitors to easily navigate through your posts, go to your social media channels and a lot more. By default, the widgets in your sidebar remain at the top of your post or page.
Turning certain or all widgets in your sidebar into fixed ones can help your visitors reach the content they want in an easier and more user-friendly way.
To create these fixed widgets, we’ve used a highly-popular plugin called the Q2W3 Fixed Widget Plugin. This is a free plugin and helps you get things done quickly so you and your visitors can enjoy the stay on your website even more.
If you have any questions or suggestions, make sure you leave a comment in the comment section below!
Read Also This
- How to Delete Unused Database Tables in WordPress
- 12 Best WordPress Sitemap Plugins of 2019 to Generate XML Sitemap
- 14 Best WordPress SEO Plugins and Tools That You Should Use
- 6 Ways To Guarantee Anonymity When Making Bitcoin Transactions
- The Best Ad Blocker Software for Android, iOS, PC and Mac
- The 7 Best Bitcoin Wallets That You Should Use For Storing BTC