X

How to Create a Floating Sidebar Widget in WordPress

A floating element that stays on the side of your screen is more likely to gain a user’s attention over a static object. You can put your most important content there, like your email list form. In this article, I will show you how to create a floating sidebar widget in WordPress.

I will start by installing and activating the Q2W3 Fixed Widget plugin. After the plugin has been activated I can go into Appearance » Widgets find the widget that I want to make sticky on my page. On all of my widgets there will now be a check box titled Fixed widget I will need to check it and then save the changes.

Checkbox to make a widget sticky

Any widget where this box is checked will now float on the side of the screen even when a user scrolls down. For some people that will be enough but, if you want to style your floating widgets or give them their own custom IDs you can edit the settings under Appearance &raquo Fixed Widget Options.

Floating Widget Settings

Whether you are looking to increase the number of clicks on a link or trying to bring a point across I hope this plugin helps you gain some control over your widgets.

If you liked this article, then join ThemeLab on Twitter and Google+.

Comments  Leave a Reply

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

WordPress Launch Checklist

The Ultimate WordPress Launch Checklist

We've compiled all the essential checklist items for your next WordPress website launch into one handy ebook.
Yes, Send Me the Free eBook!
[LIMITED TIME]
[LIMITED TIME]
[60% OFF Today!]
[60% OFF Today!]
[50% OFF TODAY!]
[50% OFF TODAY!]
[60% OFF Today!]
[60% OFF Today!]
[50% OFF Today!]
[50% OFF Today!]