Toggle Module

Toggles are a great way to consolidate information and improve user experience on your page. Using Divi, you can create any number of toggles that will look great inside any sized column.

VIEW A LIVE DEMO OF THIS MODULE

How to Add a Toggle Module to Your Page

Before you can add a toggle module to your page, you will first need to jump into the Divi Builder. Once the Divi Theme has been installed on your website, you will notice a Use Divi Builder button above the post editor every time you are building a new page. Clicking this button will enable the Divi Builder, giving you access to all of the Divi Builder’s modules. Next, click the Use Visual Builder button to launch the builder in Visual Mode. You can also click the Enable Visual Builder button when browsing your website on the front end if you are logged in to your WordPress Dashboard.

Once you have entered 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 of Rows. If you are starting a new page, don’t forget to add a row to your page first. We have some great tutorials about how to use Divi’s row and section elements.

divi-toggle-module-3

Locate the toggle module within the list of modules and click it to add it to your page. The module list is searchable, which means you can also type “toggle” and then hit enter to automatically find and add the toggle module! Once the module has been added, you will be greeted with the module’s list of options. These options are separated into three main groups: ContentDesign and Advanced.

Use Case Example: 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 what question they want to without having to read through tons of text. For this example I’m going to show you how you can use the Toggle Module to design a modern FAQ section for your FAQ page in minutes.

Using the Visual Builder, add a new section with a fullwidth (1 column) row. Then add a Divider module to the row. Under the Content tab of the Divider Module Settings, select the option to “Show Divider”.

Under the Design Tab, enter the following options:

Color: #000000 (black)
Divider Style: Solid
Divider Position: Vertically Centered
Divider Weight: 4px
Height: 1

Next add a Toggle Module under the Divider I just created in the same row. In the Toggle Module Settings, update the following:

Content tab

Title: [enter your title]
Content: [enter your content]
State: Close
Open Toggle Background Color: #ffffff
Closed Toggle Background Color: #ffffff
Background Color: #ffffff

Design tab

Icon Color: #000000
Open Toggle Text Color: #000000
Closed Toggle Text Color: #000000
Title Font: Open Sans, Bold
Title Font Size: 24px
Title Text Color: #000000
Body Font: Open Sans
Body Font Size: 18px
Body Text Color: #666666
Body Line Height: 1.6em
Use Border: YES
Border Width: 0px
Custom Padding: Top 2px, Bottom 2px

After you have saved your setting for the Toggle Module, duplicate the Divider Module you created and place it underneath the Toggle Module. This will frame the Toggle with a top and bottom divider line. After that, duplicate your Toggle Module and place it after the bottom divider line. Since this is a duplicate Toggle Module, all the design settings have carried over to the new Toggle and all you need to do is update the content of the new Toggle Module. Then continue the process of duplicating divider modules and Toggle Modules and updating the content of your Toggles until you have all the FAQ section completed.

That’s it. Now you 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 it’s settings in the sections below. We’ve provided a detailed rundown of what you will find inside each tab of the module’s settings and an explanation of what each one does.

The Toggle Module Content Settings

divi-toggle-module-2

The toggle module’s content tab is organized into the following groups of settings (which also toggle!).

Text

This is where you are able to add the toggle title and content.

State

You can choose whether or not you want your toggle to appear open or closed by default with this setting.

Background

Here you can change the open toggle background color and the closed toggle background color. You can also easily make them the same thing by setting the background color option. There is also the option to set or upload a background image.

Admin Label

By default, your toggle module will appear with a label that reads ‘Toggle’ in the builder. The Admin Label allows you to change this label for easy identification.

The Toggle Module Design Settings

divi-toggle-module-4

The toggle module’s design settings have been grouped into the following dropdown toggles under the design tab.

Icon

This is where you can change the toggle icon color.

Text

Here you’re able to set the color for open and closed toggle text.

Title Text

Here you can adjust the title text font, weight, size, color, spacing, line height, and more.

Body Text

Here you can adjust the body text font, weight, size, color, spacing, line height, and more.

Border

Here you can choose to use a border. And if you do choose to use a border, you’re also able to select it’s color, change it’s width, and choose it’s style.

Spacing

In the spacing area you’re able to add custom padding to the top, right, bottom, or left of the toggle. You can also change these values for desktop, tablet, or mobile devices.

The Toggle Module Advanced Settings

divi-toggle-module-5

In the Advanced tab of your toggle module you are able to add a unique css id and class. You are also able to add custom css to various pre-defined (and pre-selected) css selectors within the video slider module in the custom css dropdown. And finally in the visibility dropdown you are able to adjust the visibility of your module on phones, tablets, and desktops.

Getting Started With The Divi Builder

Getting Started With The Divi Builder

What Is The Visual Builder? The Divi Builder comes in two forms: The standard “Back-end Builder” and the front-end “Visual Builder.” Both interfaces allow you to build exactly the same types of websites with the same content elements and design settings. The only...

Accordion Module

Accordion Module

The accordion module is a great way to consolidate information within a single system. Accordions are very similar to tabs, except that the items are displayed within a vertical list. When a new item within the list is opened, the previously-opened item is closed and...

Audio Module

Audio Module

The audio module allows you to embed an audio file + a custom audio player anywhere on your page. The audio player assumes the clean/modern style of the Divi theme. This is a great feature for musicians who want to show off their latest creations, or podcasters who...

Bar Counters Module

Bar Counters Module

Animated counters are a fun and effective way to display stats to your visitors. Animation is triggered using lazy-loading to make browsing the page truly engaging. You can place as many counters as you would like inside of this module. VIEW A LIVE DEMO OF THIS MODULE...

Blog Module

Blog Module

With Divi, even blogs are a module, and your “blog” can be placed anywhere on your website, and in various formats. You can combine blog and sidebar modules to create classic blog designs. 1 column, 2 column or 3 column blogs can all be built using blog and sidebar...

Blurb Module

Blurb Module

The blurb module is a simple and elegant combination of text and imagery. Blurbs are a great way to showcase small bits of important information, and are often used in rows to display skills or features. Blurb modules can be placed in any column that you create. VIEW...

Button Module

Button Module

How To Add A Button Module To Your Page Before you can add a button module to your page, you will first need to jump into the Divi Builder. Once the Divi Theme has been installed on your website, you will notice a Use Divi Builder button above the post editor every...

Call To Action Module

Call To Action Module

It’s always important to give your visitors a clear call to action. Whether you are trying to get them to purchase your product or contact you for a quote, the call-to-action module will get the clicks you need. The CTA module is a simple combination of a title, body...

Circle Counter Module

Circle Counter Module

The circle counter provides you with a beautiful and visually-compelling way to display a single statistic. As you scroll down, the number counts up and the circle graph fills to the percentage based location. Try combining multiple circle counter modules on a single...

Code Module

Code Module

The Code Module is a blank canvas that allows you to add code to your page, such as plugin shortcodes or static HTML. If you would like to use a third party plugin, for example a third party slider plugin, you can simply place the plugin’s shortcode into a standard or...

Comments Module

Comments Module

The comments module allows you to place a comment form anywhere on your page. If you are using a standard page or post without the Divi Builder, comments will always appear below your post content. Once the Divi Builder is enabled, however, you can place the comments...

Contact Form Module

Contact Form Module

Communication is the cornerstone of any business. With Divi, you can easily add contact forms to any part of your website. VIEW A LIVE DEMO OF THIS MODULE How To Add A Contact Form Module To Your Page Before you can add a contact form module to your page, you will...

Countdown Timer Module

Countdown Timer Module

The Countdown Timer module creates a visual timer that counts down to a specific date. This is great for creating a “coming soon” page to builds anticipation for a new product or service. When combined with a “blank page,” this can also be used as a great “coming...

Divider Module

Divider Module

The divider module is perfect for creating either a horizontal line rule, custom vertical spacing, or both. Using this element is great for adding structure and organization to your site. VIEW A LIVE DEMO OF THIS MODULE How To Add A Divider Module To Your Page Before...

Email Optin Module

Email Optin Module

The Divi Email Optin module supports various email providers. Within each email provider, you can create custom data fields that can store different pieces of information about your email subscribers. This data can then be used to segment your email lists or create...

Filterable Portfolio Module

Filterable Portfolio Module

The Filterable Portfolio allows you to display your most recent projects in either a Grid or Standard fashion. The filterable portfolio looks just like the normal portfolio module, except that it loads new projects using an Ajax request, and it includes options to...

Gallery Module

Gallery Module

Sharing a collection of images is always a great way to visually engage users in your content. The Gallery module lets you create and organize galleries anywhere on your website. The Divi Builder gallery module comes in both grid and slider format and supports large...

Image Module

Image Module

Divi makes it easy to add images anywhere on the page. All images come with 4 different animation styles that make browsing your website fun and engaging. Image modules can be placed in any column that you create, and their size will be adjusted to fit. VIEW A LIVE...

Number Counter Module

Number Counter Module

The number counter is a great way to display numbers in a fun and engaging way. This module is commonly used to display statistics about yourself or your company. For example, display your customer count or Facebook followers is a great way to showcase social proof....

Person Module

Person Module

The Person Modules is the best way to create a personal profile block. This is a great module to use on About Me or Team Member pages where you want to create a bio of individual people. This module combined text, imagery and social media links into a single, cohesive...

Portfolio Module

Portfolio Module

With the Portfolio Module you can show off your work anywhere on your site in any column structure. VIEW A LIVE DEMO OF THIS MODULE How To Add A Portfolio Module To Your Page Before you can add a portfolio module to your page, you will first need to jump into the Divi...

Navigation Module

Navigation Module

How To Add A Post Navigation Module To Your Page Before you can add a post navigation module to your page, you will first need to jump into the Divi Builder. Once the Divi Theme has been installed on your website, you will notice a Use Divi Builder button above the...

Post Slider Module

Post Slider Module

How To Add A Post Slider Module To Your Page Before you can add a post slider module to your page, you will first need to jump into the Divi Builder. Once the Divi Theme has been installed on your website, you will notice a Use Divi Builder button above the post...

Post Title Module

Post Title Module

The Post Title Module displays the title of your current post, and optionally the post Featured Image and meta data in an elegant fashion. This allows you to create more unique looking posts when building your posts using the Divi Builder. VIEW A LIVE DEMO OF THIS...

Pricing Tables Module

Pricing Tables Module

It’s easier than ever to create pricing tables for your online products. Create as many tables as you want, and control the pricing and features of each. You can even feature a particular plan to increase conversions. Even if your module includes more than one pricing...

Search Module

Search Module

Using the search module, you can place a search form anywhere on your site. This search form will allow your visitors to search through all of your website’s content, including all pages and blog posts. This gives you the functionality of the WordPress search widget...

Shop Module

Shop Module

Divi has been designed to be WooCommerce compatible. To integrate WooCommerce you will need to install the latest version of WooCommerce. WooCommerce is the plugin that we recommend, as it has the nicest feature set, interface and follows the best coding practices....

Sidebar Module

Sidebar Module

Divi lets you create an unlimited number of widget ready areas on the fly. Sidebars can then be added to any page, allowing you to create unique sidebars for different section of your website. VIEW A LIVE DEMO OF THIS MODULE How To Add A Sidebar Module To Your Page...

Slider Module

Slider Module

Sliders can be placed anywhere, spanning the full width of whatever column structure they are in. Divi sliders support parallax backgrounds, as well as video backgrounds! VIEW A LIVE DEMO OF THIS MODULE How To Add A Slider Module To Your Page Before you can add a...

Social Media Module

Social Media Module

The social media module lets you create icon-based links that point to your online social profiles, such as Facebook, Twitter and Google+. These icons are integrated into the theme, in the clean style of Divi using our Elegant Icons, which make them preferable to use...

Tabs Module

Tabs Module

Tabs are a great way to consolidate information and improve user experience on your page. Using Divi, you can create any number of tabs that will look great inside any sized column. At ¼ columns, tab buttons are stacked and remain visible. At larger sizes, tab buttons...

Testimonial Module

Testimonial Module

Testimonials are a great way to encourage trust from your visitors. Using the Divi testimonial module, you can quickly add testimonials to your join & sales pages. testimonials are usually compelling quotes from your customers. Each testimonial has a quote, the...

Text Module

Text Module

Text can be added anywhere on your page. Text modules can be placed within any column type, and when combined with other modules, they make for a truly dynamic page. When you add a text module, you are given all of the editing capabilities of a normal WordPress page....

Video Module

Video Module

Adding videos to your page in Divi is simple using the Video module. The module allows you to embed videos from just about any source, as well as customize the thumbnail image and play button to add a clearner style to the embed. VIEW A LIVE DEMO OF THIS MODULE How To...

Video Slider Module

Video Slider Module

Divi makes it easy to add a Video Slider to your page. This is a great way to organize collections of videos from just about any source. The video gallery also allows you to customize video thumbnail images and play button to add a clear, custom style to your embeds....