How To Make Any Element On A WordPress Site Sticky


When the most important factors which lead your website towards success, website design almost always tops the list. Today, we are going to talk about a certain aspect of WordPress site design called sticky elements. A sticky element is an element that toggles between relative and fixed, depending on the scroll position. It is positioned relative until a given offset position is met in the viewport – then it „sticks“ in place. Today, we are going to talk about a plugin that allows you to effortlessly make sticky elements – meet WP Sticky.

WP Sticky

WP Sticky is an amazing plugin that can make any element of the website sticky, easy, and fast. It is not complex at all, and even someone without a lot of knowledge about this topic can use it without difficulties. You can make a sticky header, sticky menu, navigation, widget, or any other element sticky. WP Sticky is a very powerful tool because you can make any element sticky amazingly fast – usually it takes a minute or less. There is no coding involved which backs up the simplicity and you can just pick the element off the screen. It does not have a limit on how many elements you can make sticky, so you can implement it on as many as you want. It works with everything. WP Sticky is compatible with all the themes, page builders, and plugins, with Pro Support available. There is no need to look for outsourced information and google-ing. You will get help from the people who build the plugin. WP Sticky counts 100,000+ satisfied users all around the world. The reason for this is that it is simple, fast, and user-friendly.


In the example on how to use WP Sticky, we are going to make a Sticky Header, since it is one of the most popular sticky elements, alongside the sticky menu.

The first thing to do is to create an element. In the upper-left corner, there is an option named „Add New Sticky Element“. You click on that to, as it says add a new sticky element.

The next thing to do is to give your element a name, since you will have a lot of sticky elements, you need to know which is which. You can choose any name you want.

The next step is to isolate the element and tell the plugin where to look. You can do this in two ways.

The first way is through Visual Picker. You need to go to the Basic Settings tab and click on the „Pick Element“ button. The plugin will then load your website with the WP Sticky menu on top. When you move around the site, you will see lines around elements. They help you find the identifier you want to make sticky. When you found the element you want to make sticky, just click on it. Then, the plugin will recognize the unique identifier and write it down for you. Do not forget to save changes from the upper-left corner of the screen.

Another way to isolate the element is with the unique identifier. It is used when you already know the unique identifier of the element you want to make sticky. By clicking on the „Pick Element“ button, you can just write it down yourself.

When you selected the element, the next step is to customize its look and behavior.

The first step is the position, since we are making a sticky header, you have to pick the top position.

You can also adjust the space between the top of the page and the sticky header, although it is optional. To do this, you find the option called „Space between the top of the page and sticky element“ and add the number of pixels in the box, that will represent how much space will you make.

Then, you can turn on the „Check for Admin Toolbar“ option. It will let logged-in users have the same experience as non-logged-in ones since the sticky header will not get obscured by the Administrator Toolbar.

If you do not want to make a sticky header on devices, that can be arranged too. There is an option called „Device“ where you can turn your sticky element on and off, wherever you want.

If you want to control the vertical stacking order of elements that overlap, you can use CSS option Z-index. If your sticky header shows behind some other parts of your site, you need to increase the Z-index. If you want your sticky header to be always at the top, set the Z-index to 99999.

Then, you can choose the effect of your sticky header. It can fade in or slide down. It is best if you try both and see what looks the best.

You can change the opacity, just move the slider left to right to make the sticky element more or less transparent.

Then, you can set the part of the page where your sticky header will become sticky. For example, if you set the Scroll range to „20-70“, the sticky header will become sticky only after the user scrolls past 20%, and it will remain sticky until you scroll past 70%.

And last, you can change the background color when your header is sticky.

WP Sticky prices

There are three payment plans with WP Sticky. The first is the Single Plan. It gives you one site license, installation on Client Sites, white-label mode, lifetime updates and support, all plugin features, and a lot more. It can be paid $5.99 per month or you can pay 39$ for a lifetime license. The second payment plan is Team. Here, instead of one site license, you get three. It costs $49. The last payment plan is Agency. It gives you all the previous features a 100 site license. It costs $99.


Sticky elements are interesting and useful, and you can make one with minimal effort and in line with all of your preferences. Play around with the possibilities, set up the layout that fits you best, and take another step towards digital success with the proper tools in your repository!

Add a Comment

Your email address will not be published. Required fields are marked *

one × two =