diff --git a/src/blocks/header/block.json b/src/blocks/header/block.json index fb49063e4..3dd774d2c 100644 --- a/src/blocks/header/block.json +++ b/src/blocks/header/block.json @@ -10,7 +10,8 @@ "customClassName": false, "reusable": false, "lock": false, - "kbMetadata": true + "kbMetadata": true, + "ktdynamic": true }, "textdomain": "kadence-blocks", "keywords": ["header", "footer", "navigation"], diff --git a/src/blocks/header/children/row/edit.js b/src/blocks/header/children/row/edit.js index 7ed94b608..db12afcee 100644 --- a/src/blocks/header/children/row/edit.js +++ b/src/blocks/header/children/row/edit.js @@ -249,7 +249,6 @@ export function Edit(props) { }) } disableMediaButtons={backgroundValue?.image ? true : false} - dynamicAttribute={'background' + suffix + size + ':image'} isSelected={isSelected} attributes={attributes} setAttributes={setAttributes} diff --git a/src/blocks/header/edit-inner.js b/src/blocks/header/edit-inner.js index 254064225..ed742b611 100644 --- a/src/blocks/header/edit-inner.js +++ b/src/blocks/header/edit-inner.js @@ -413,7 +413,6 @@ export function EditInner(props) { ) } disableMediaButtons={backgroundValue?.image ? true : false} - dynamicAttribute={'background' + suffix + size + ':image'} isSelected={isSelected} attributes={attributes} setAttributes={setAttributes}