Divi: the easiest WordPress theme to use
Divi: The best WordPress theme of all time!
With over 901.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]
Before you can add a Toggle module to your page, you must first jump into the Divi Builder. Once the Divi theme is installed on your website, you will notice a button Use Divi Builder above the post editor whenever you create a new page. Click on this button to activate Divi Builder and access all the Divi Builder modules. Then click on the button Use Visual Builder to start the generator in visual mode. You can also click the button Enable Visual Builder when you browse your website in the foreground if you are connected to your WordPress dashboard.
Once you are on the Visual Builder, you can click the gray plus button to add a new module to your page. New modules can only be added inside rows. If you are starting a new page, remember to add a row to your page first.
Locate the toggle module in the list of modules and click on it to add it to your page. The list of modules is searchable, which means you can also type "toggle" and then press enter to automatically search and add the toggle module! Once the module is added, you will be greeted by the module options list. These options are separated into three main groups: Contents , Design et Advanced .
Example use case: FAQ page
An FAQ page is one of the best places to consolidate information using the Toggle module. It allows the user to quickly identify the question they are looking for without having to read tons of text. For this example, I'll show you how you can use the Toggle module to design a modern FAQ section for your FAQ page in a matter of minutes.
Using the Visual Builder, add a new section with a fullwidth row (1 column). Then add a Divider module to the row. Under the Content tab of the Divider module settings, select the “Show Divider” option.
On the Design tab, enter the following options:
Color: # 000000 (black)
Divider Style: Solid
Vertically centered divider Weight: 4px
Then add a toggle module under the divider I just created in the same row. In the Toggle module settings, update the following:
Easily create your website with Elementor
Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]
Title: [enter your title] Content: [enter your content] Status: Close
Open Background color: #ffffff
Closed Toggle the background color: #ffffff
Background color: #ffffff
Icon Color: # 000000
Open Toggle Text Color: # 000000
Closed Toggle Text Color: # 000000
Title Font: Open Sans, Bold
Font size: 24px
Title Text Color: # 000000
Body Font: Open Sans
Body Font Size: 18px
Body Text Color: # 666666
Height of the body line: 1.6em
Use the border: YES
Width of the border: 0px
Custom padding: Top 2px, Bottom 2px
After saving your setting for the toggle module, duplicate the divider module you created and place it under the toggle module. This will frame the seesaw with an upper and lower dividing line. After that, duplicate your flip-flop module and place it after the bottom separator line. Since this is a duplicate Toggle module, all design parameters have been transferred to the new Toggle module and all you need to do is update the contents of the new Toggle module. Then continue the process of duplicating the Division and Scale Modules modules and update the contents of your scales until you have completed the entire FAQ section.
That's all. You now have a modern FAQ section using the Toggle module to consolidate your questions and answers.
Now that you've seen the toggle module in action, dive into ALL of its settings in the sections below. We've provided a detailed look at what you'll find in each tab of the module's settings and an explanation of what each does.
Stop wasting time and money!
Discover the best tool to create your blog, your online store blog or any other website in just a few clicks!
The content parameters of the Toggle module
The toggle module content tab is organized in the following parameter groups (which also alternate!).
This is where you can add the title and toggle content.
You can choose whether or not you want your button to appear open or closed by default with this setting.
Here you can change the background color when the toggle is open and the background color when it is closed. You can also easily make them the same by setting the background color option. There is also the option to set or upload a background image.
By default, your toggle module will appear with a label that reads 'Toggle' in the generator. Admin tag allows you to change this tag for easy identification.
The design parameters of the rocker module
The design parameters of the toggle module have been grouped together in the following drop-down toggles under the Design tab.
This is where you can change the color of the toggle icon.
Here you are able to set the color for open and closed toggle text.
Here you can adjust the title text font, weight, size, color, spacing, line height, and more.
The body of the text
Here you can adjust the font, weight, size, color, spacing, row height and more.
Here you can choose to use a border. And if you choose to use a border, you can also select its color, change its width, and choose its style.
In the spacing area, you can add custom padding to the top, right, bottom, or left of the toggle. You can also change these values for desktops, tablets, or mobile devices.
The advanced settings of the module toggle
In the Advanced tab of your toggle module, you can add a unique ID and css class. You can also add custom css to various predefined (and preselected) css selectors in custom css drop down video slider module. Finally, in the visibility drop-down list, you can adjust the visibility of your module on phones, tablets and desktops.
That's all for this tutorial, I hope it will allow you to better use the Divi Toggle module.
Other Divi tutorials
- 5 websites for restaurant use Divi theme
- How to add text on a Divi WooCommerce product
- How to change the menu color between Divi pages
- How to personalize the grids of a blog with Divi
- How to use the role Divi editor on WordPress
- How to create a full screen Divi slider
- How to change the color of menus between Divi pages
- Features you probably do not know about Divi
- How to use Divi Builder on WordPress
- How to use the Divi video scrolling module
- How to use the Divi Builder Flip module
- How to add a testimonial module on Divi Builder
- How to use the Divi text module
- How to create a slider on Divi
- How to edit a Divi user role
- How to use the Divi Social Media module
- How to use the shop module on the theme WordPress Divi
- How to use the Divi sidebar module
- How to use the Divi Price Table Module
- How to use the title module of Divi publications
- How to add a video module of Divi
- How to use the article navigation module
- How to use the Divi search module
- How to use the Divi wallet module
- How to use the person module on Divi Builder
- How to use the wallet module with Divi filter
- How to use the full width slider module
- How to use the Divi Builder Image Module
- How to use the full-width navigation module of Divi Builder
- How to use the image gallery module
- How to use the Divi Builder Full-Width Card Module
- How to use the Divi Full Width Portfolio Module
- How to use the Divi full-width header module
- How to use the Divi Counter Module
- How to use the articles slider on Divi Builder
- How to use the Divi Email Optin module