fbpx

Need Help?

Here are some good places you cant start.

Whats New?

Get updated about all the good stuff!

wordpress-black-friday-deals
toggle-button-for-elementor
elementor-widget-library

How to Create a Toggle Button With Elementor [Step-by-Step Guide]

A Toggle Button in Elementor is a clickable element, such as a button or icon, allowing users to show or hide content dynamically. When clicked, the button can reveal a hidden webpage section, like a dropdown menu, additional text, or images. This functionality is especially useful for creating interactive elements like FAQs, collapsible sections, or dropdown menus, helping to keep your webpage clean and organized while allowing users to access more information only when they need it.

Popular Use Cases for the Toggle Button

1

Navigation Menus

Use the toggle button to reveal additional links or subcategories with a simple click or hover, keeping your navigation clean and organized.

2

Search Bar Reveal

With a toggle button, you can display a compact search bar when needed, saving space while maintaining easy search access.

3

Mini Cart Display

The toggle button can reveal a mini cart with items and total price, allowing users to check their cart without leaving the current page.

4

Filters in eCommerce

Add a toggle button to product filters like price, size, or categories, giving users a smooth, interactive shopping experience.

5

Mobile Menus

On mobile devices, the toggle button is ideal for displaying navigation links only when clicked, conserving valuable screen space.

6

Quick Login/Register

Use a toggle button to reveal login or registration forms, offering users a quick and seamless way to sign in without reloading the page.

Step #1: Install and activate Unlimited Elements

Before getting started you will need to purchase Unlimited Elements pro from the link below to access the Toggle Dropdown widget.

Then follow these steps:

1

Go to Plugins → Add New → Upload Plugin.

2

Choose the zip file you downloaded, upload, and then click Activate.

3

Once activated, you’ll need to enter your license key.

Now that you have the plugin installed, it’s time to start creating the Toggle Dropdown.

Step #2: Adding the Toggle Dropdown widget to your Elementor website

To create a Dropdown Button you need to install the Dropdown Button widget from the Unlimited Elements Widget library. 

1

Go to Unlimited Elements in the WordPress Dashboard

2

Search for the "Dropdown Toggle"

3

Hover over the widget and click install

Then, in the Elementor editor, Find the Toggle Dropdown widget and drag it to the desired part of your page.

Step #3: Configure the Toggle Dropdown Content Type
1

Text

Simple text content.

2

Image

Display an image when the button is toggled.

3

Template

Load a pre-built template.

4

Element ID

Specify the ID of any element on the page that will be shown or hidden when the toggle button is clicked.

Step #4: Configure the Toggle Dropdown Dropbar
1

Trigger

Choose how the toggle activates: on click or hover.

2

Placement

Set where the revealed content appears in relation to the button, such as bottom start, top center, left start, ext...

3

X Offset

Adjust the horizontal distance between the button and the revealed content.

4

Y Offset

Control the vertical spacing between the button and the revealed content.

5

Z-Index

Set the stacking order to ensure the content is on top of other elements.

6

Hide on Body Click

Decide if the content should close when clicking outside the toggle (yes or no).

Wrapping it Up!

And that’s it! 🎉 You’ve now mastered how to create a sleek and functional toggle button in Elementor. Whether you’re using it for navigation menus, revealing hidden content, or adding interactive elements to your site, this simple yet powerful feature enhances the user experience while keeping your design clean and organized. Now go ahead, implement your toggle buttons, and elevate your Elementor website to the next level! 🚀 

View More Related Blog Posts

Download is just a click away

Get instant access to tons of Elementor goodies, completely FREE!

Hurray!

You got FREE access to the worlds leading widgets for Elementor page builder!