Code Block with Dynamic Data
Last updated
Last updated
Using dynamic data inside Bricks' Code Block is the most powerful and flexible way to control a block. You can allow users to control those dynamic data by exposing Dynamic Data as a form field in Gutenberg editor.
To have CSS to select a specific block, you can use {gb_block_id}. In the example below, the specific CSS is only applied to a block with class .block-{gb_block_id}
IMPORTANT: You MUST add block-{gb_block_id}
to a parent element by using Dynamic Class.