Describe what you did
When we import a D4 Module with Background -> 'Use background colour' set to No, the background gets the first palette colour, i.e. blue by default.
Describe what you expected to happen
The module (a simple CTA in that case) should look like this:
Describe what actually happened
Instead, we get the blue bg on D5:
D5 generates code for CTA with "unknownAttributes":{"use_background_color":"off"} :
<!-- wp:divi/placeholder --><!-- wp:divi/section -->
<!-- wp:divi/row {"module":{"advanced":{"columnStructure":{"desktop":{"value":"4_4"}}}}} -->
<!-- wp:divi/column {"module":{"advanced":{"type":{"desktop":{"value":"4_4"}}}}} -->
<!-- wp:divi/cta {"title":{"innerContent":{"desktop":{"value":"D4: cta"}},"decoration":{"font":{"font":{"desktop":{"value":{"color":"#000000"}}}}}},"content":{"decoration":{"bodyFont":{"body":{"font":{"desktop":{"value":{"color":"#000000"}}}}}},"innerContent":{"desktop":{"value":"\u003cp\u003eYour content goes here. Edit or remove this text inline or in the module Content settings. You can also style every aspect of this content in the module Design settings and even apply custom CSS to this text in the module Advanced settings.\u003c/p\u003e"}}},"button":{"innerContent":{"desktop":{"value":{"text":"Click Here"}}}},"builderVersion":"4.27.2","modulePreset":"default","unknownAttributes":{"use_background_color":"off","template_type":"module"}} /-->
<!-- /wp:divi/column -->
<!-- /wp:divi/row -->
<!-- /wp:divi/section --><!-- /wp:divi/placeholder -->
Detailed Steps To Reproduce
Please provide a detailed list of exact steps that reproduce the issue.
Create a simple CTA on D4, disable the Use background colour in the Background settings:
Export it, and then import into D5, here is an example json for import:
D4 test CTA.json
Problem Description
Describe what you did When we import a D4 Module with Background -> 'Use background colour' set to No, the background gets the first palette colour, i.e. blue by default.
Describe what you expected to happen The module (a simple CTA in that case) should look like this:
Describe what actually happened Instead, we get the blue bg on D5:
D5 generates code for CTA with
"unknownAttributes":{"use_background_color":"off"}
:Detailed Steps To Reproduce
Please provide a detailed list of exact steps that reproduce the issue.
Create a simple CTA on D4, disable the Use background colour in the Background settings:
Export it, and then import into D5, here is an example json for import: D4 test CTA.json
Add imported module to a page, check the BG.
System Information