When we talk about wordpress, there is one thing that cannot be ignored? When I say this you may have an idea, what is that? Yes, sure, it is plugin, wordpress plugin. All of you may want to give emphasize on some thing in your wordpress website. That may be any banner, google adsense ad, When we talk about wordpress, there is one thing that cannot be ignored? When I say this you may have an idea, what is that? Yes, sure, it is plugin, wordpress plugin. All of you may want to give emphasize on some thing in your wordpress website. That may be any banner, google adsense ad, news letter subscription form etc. That is, you should have that place in your side bar as a widget. When some one scolling the pages from top to bottom, the widget will also move around the page. So that that widget may be disappear. It is very good idea that if you are making the widget sticky in sidebar when page scroll from top to bottom, that particular widget will be in attention with the reader. So it is good to get more advantage with that. If you place a adsence ad with the sidebar widget, the ad will be always in the sidebar when the user scroll t he pages to bottom. So there is chance of click come to that ad. This is same in case of newsletter subscription form or any other stuffs. Today I am going to introduce how to create a sticky widget in wordpress using a wordpress plugin.
How To create sticky sidebar in wordpress
It is very simple to make a sticky sidebar in your wordpress. You can check the sticky sidebar in my wordpress tech blog sajeetech.com, yes , there is a sticky sidebar, when you scroll from top to bottom, the sidebar with google adsense is get sticky and when the page approaches to secondary footer, the widget move towards top. This is for not making nuisance with the footer content. The visitors get attention to that widget when scroll from top to bottom. Have you checked it in my sidebar?
Which sidebar is we are going to use?
Yes, we are going to use the plugin called Q2W3 Fixed Widget. Yes this is very powerful wordpress plugin to make a sticky sidebar widget. Simply install this plugin from wordpress plugin directory.
When you install this wordpress plugin and activated, let’s go to the settings section. You can find “fixed widget options” under appearance section. see the screenshot.
Yes, you have got the window, now here we have to set mainly two parameter, that is top margin and bottom margin. That is the top margin where the widget have to stick when scroll to top. This is setting according to the page. Hee i set it as 72 px since i have a menu which is float when scroll, so need not to overlap it. and i set the margin top as 600px. set your according to the height of your footer. That is only Then hit save button. You are going to create a sticky sidebar in next step.
Next just marking a tick in widget, you done a sticky sidebar in your website. Just go to widget section under appearance section. When you expanding the widget, you can see fixed widget box at the bottom. Just tick the box and then save, that widget sticky now, let see the screenshot.
That’s all. You have now make a sticky sidebar with wordpress. Remember to adjust the top and bottom margin accordingly to get best user experience. If you like this post, please share this to your friends. Hopefully to publish more article on wordpress.