Comments (3)
All modules (parent & children) are wrapped intentionally. We're going to do the same for official modules in the future as well. Let me know if you have any further questions about this.
from create-divi-extension.
Do you have some documentation about
$this->wrapper_settings['attrs']['class']
This would be usefull to setup a class in child wrapper elements.
from create-divi-extension.
Its possible to use filters to customize that but I'd actually recommend putting your classes on the elements you have direct control over. Its much easier and straightforward that way. That being said, here's the details on those filters:
/**
* Filters the HTML attributes for the module's outer wrapper. The dynamic portion of the
* filter name, '$slug', corresponds to the module's slug.
*
* @since 3.1
*
* @param string[] $outer_wrapper_attrs
* @param ET_Builder_Element $module_instance
*/
$outer_wrapper_attrs = apply_filters( "et_builder_module_{$slug}_outer_wrapper_attrs", $outer_wrapper_attrs, $this );
/**
* Filters the HTML attributes for the module's inner wrapper. The dynamic portion of the
* filter name, '$slug', corresponds to the module's slug.
*
* @since 3.1
*
* @param string[] $inner_wrapper_attrs
* @param ET_Builder_Element $module_instance
*/
$inner_wrapper_attrs = apply_filters( "et_builder_module_{$slug}_inner_wrapper_attrs", $inner_wrapper_attrs, $this );
from create-divi-extension.
Related Issues (20)
- Custom fields styles no loading on Editor HOT 3
- Support for the experimental syntax 'dynamicImport' isn't currently enabled
- node-sass HOT 1
- Problem DIVI causing HTTP 500 on WooCommerce API
- Trying to get the version of the divi builder via PHP.
- How to link the field in the theme builder with the field from my custom post type
- Make upload field return image ID instead of URL
- Custom Taxonomies for Shop module
- Not able to create Divi Extensions HOT 10
- Multi-site issues with updating Divi extensions
- How to add a javascript onclick event to an element in a custom module HOT 1
- add_rewrite_rule breaks Theme/Visual Builder
- Access to @Divi/components or similar repository/package HOT 6
- displaying custom detail page while using divi templates
- DIVI Builder not workding | [React-imported-component] TypeError: n(...) is not a function
- Disable Divi Premade Layout
- et_pb_contact_form_submit not fired when JavaScript is enabled HOT 1
- How to get page specific content in rest api
- et-cache directory overpopulating
- Programmatically add divi module via php script
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from create-divi-extension.