How to make floating sidebar in wordpress – Creating sticky sidebar
Posted in Wordpress By SureyeaIn most of the sites you can see something floating and sticky. It can be sharing buttons, floating footer bar, sticky header bar and floating sidebar. People use sticky and floating object for some promotional purpose. Sticky and floating objects will catch visitor’s eyes and gets more click through rates than static objects. Here let’s see how to make a floating sidebar in wordpress that is creating a sticky sidebar widget.
Visitors land in your website to find some useful information, so they always concentrate in reading your content. You will fill up with all promotional offers in your sidebar, but they won’t see anything when they end up reading your article. This is the reason to add sticky sidebar widget, so when users scroll down they will see your widget scrolling along with the content. Let’s see how to create sticky floating sidebar widget.
How to make floating sidebar in wordpress
With some coding you can make the sidebar widget sticky, but it’s not recommended for beginners. To make this post simpler we are going to use a plugin. It’s easy to make a sidebar widget sticky using Q2W3 fixed widget plugin.
First install and activate Q2W3 fixed widget plugin. Once done you will find fixed widget option in your appearance settings. Before configuring your plugin go to Appearance >> Widgets and check fixed widget for any one of your widgets and click save. Now go to your website and see how it works, scroll down your page and see whether your sidebar is fixed.
Configuring Q2W3 fixed widget plugin
Go to appearance >> fixed widget options and you will find some useful option to deal with this plugin. If this fixed widget overrides your header or footer, then you can specify top and bottom margin. Also this plugin supports responsive layouts. If your theme is responsive then check the box that says “inherit widget width from the parent container”.
You can use this sticky sidebar to enhance your subscription rate, promote affiliate products and place your social widgets. Never even make your adsense ads sticky in your sidebar, one of my friend got banned due to this. Adsense have strict policy and they don’t like to encourage users to click ads. You can make multiple sidebar widgets sticky but it can annoy your users, so use it wisely.
Hope this helped on how to make floating sidebar in wordpress. You will really benefit from this sticky floating sidebar widgets.
Related Posts
- WordPress Themes, Widgets and Menus (level beginner) This post is the continuation of WordPress basics. It covers the appearance section wordpress themes, widgets and menus where you can completely modify your website’s look and feel as you...
- How to set multiple languages in wordpress dashboard You might be a web designer and your native language is English and you are just designing a wordpress site for a Brazilian guy whose native language is Portuguese and...
- How to create a separate page for blog posts in wordpress – Blog page Have you ever thought of showing your blog posts in a separate page instead of showing it in your main page? You well know that wordpress is a best CMS...
- How to Nofollow all external links in wordpress – Add rel=nofollow tag People usually add nofollow to external links in order to maintain their page strength (page quality). Attribute rel=nofollow is just like a guard sitting in front of the gate. The...
- How to change wordpress theme name – Rename theme folder and hide it Do you know that people can easily find out what wordpress theme you are using in your site? Just right click your website and view page source; you will see...