Skip to main content

CMDG 18: Override built-in modules

Any of the built-in modules can be overridden within your theme by following the steps below.

  1. Create a new folder in your theme's folder named fl-builder.
  2. Create a new folder within your theme's fl-builder folder named modules.
  3. Copy the entire module folder you wish to override from wp-content/plugins/bb-plugin/modules to your theme's fl-builder/modules folder.

Copy the entire module folder and its contents, not just the files you want to override.

The example tree below shows what this structure would look like if you were using the Beaver Builder child theme.

β”œβ”€β”€ fl-builder
β”‚Β Β  └── modules
β”‚Β Β  β”œβ”€β”€ audio
β”‚Β Β  β”œβ”€β”€ button
β”‚Β Β  β”œβ”€β”€ menu
β”‚Β Β  └── post-grid
β”œβ”€β”€ functions.php
└── style.css

That's it! You can now start editing the module to suit your needs. Note that even though you can customize the module's code, the module's folder name, main PHP file name, and main class name must remain unchanged to be recognized by Beaver Builder.


If you’re not seeing your changes, try clearing the Beaver Builder cache.