Module 18 of 71
Divi Content Toggle that flips between two views.
One switch, two blocks of content. Perfect for monthly and yearly pricing, or showing two audiences on one page.
Choose the two plans layouts. Import the Divi Library file, then open this Content Toggle and pick Module demo · Content Toggle · Hero · Monthly plans for Content One and Module demo · Content Toggle · Hero · Yearly plans for Content Two.
What is the Divi Content Toggle module?
Content Toggle is a Divi 5 module in Divi Supreme Pro that shows a switch between two headings. Flip the switch and the content below changes from one block to the other.
Each side can be custom content, a saved Divi Library layout or a shortcode, so you can toggle whole pricing tables, forms or sections. Style the switch size, colours and alignment, and choose which side shows first.
content sides
content types
max switch size
custom code
Start from a Content Toggle recipe.
The recipes and the playground run on the front end. Use Preview, or open the page, to try them.
Try every Content Toggle setting.
The recipes and the playground run on the front end. Use Preview, or open the page, to try them.
Everything Content Toggle can do.
One switch, two sides
Two headings with a switch between them. Click either heading or the switch.
Library layouts
Show any saved Divi Library layout on either side, like a full pricing table.
Text or shortcodes
Use custom content, or the output of any shortcode.
Style the switch
Size, primary, secondary and inner colours, and alignment.
Choose the first view
Set which side is active when the page loads.
Divi 5 native, WPML ready
Separate heading styles and content backgrounds, translatable with WPML.
Content Toggle documentation
Setup for Divi 5: headings, content types, active side and switch styling.
Questions about Content Toggle.
Next module, A to Z
Dark Mode Toggle Module
Related modules
Advanced Tabs Module
Tabs that hold whole layouts.
Dark Mode Toggle Module
A switch that turns on a dark theme.
Read More Module
Collapse long content behind a button.
Show two sides in one spot.
Content Toggle comes with 70+ Divi 5 modules and 16 extensions in Divi Supreme Pro.