In this blog post, we will show you how to make a sticky sidebar with Elementor. In the last few years, the use of sidebars on websites has declined in popularity. However, there are still cases where they can be useful and provide additional information for your readers that is not necessary on every page. The idea of a sticky sidebar is that it remains at the same position when scrolling down or up on a page and does not change place like most other elements do.
Elementor comes with many pre-built element types which enable us to create quick designs without coding skills needed!
Creating Sticky Sidebar with footer or header templates
Build it into the footer or header template and then use the sticky and/or absolute positioning functions for the section in the ‘advanced’ tab of the editor.
Here, using the z-index property effectively can assist.
You Must have elementor plugin activated.
Step 1: Go to Templates.
Step 2: Click Add New.
Step 3: Select the type of Template you need to add. Select header or footer. And click create new.
Step 4: Now choose the desired template you need.
Step 5: Now start adding content for sidebar below the header.
Creating Sticky Sidebar as a Popup
The other option, if you have elementor pro version, you can create it as a pop-up and just have it trigger on every page load.
If you’re not up to it, or don’t have elementor pro version, then there’s probably a plugin that will do it.
Creating Sticky sidebar using Plugin
We recommend the sticky sidebar plugin.
Step 1: Go to the WordPress plugin repository and search for ‘sticky sidebar’.
Step 2: Install and activate the plugin.
Step 3: Once activated, you will find a new menu item in your WordPress dashboard called ‘Sticky Sidebar’.
Step 4: Configure the settings to match your needs.
Now that we have covered how to create a sticky sidebar, let’s take a look at some of the best use cases for them.
Best Use Cases for Stick Sidebars
Here are a few ideas of where to use a sticky sidebar on your website:
- As a secondary navigation menu that stays at the top of the page as you scroll down-To show additional content such as social media icons, contact information or latest blog posts
- To show a sidebar ad that stays in place while people are reading your content
- As a way to add additional information to certain pages on your website, such as an ‘about’ section or contact form
That’s it for this blog post! We hope you found it useful. If you have any questions, feel free to leave them in the comments section below.