The bug is if using the Breakdance Zero Theme with the "Keep Theme" setting leads to all sections of a page being wrapped in the
, all of them nested under the which also has the class of 'breakdance'. I'm assumign this is a bug because having the same class on different levels of the DOM heirachy is going to lead to drama - it did for me.
Steps to reproduce:
Clean install Breakdance Zero Theme, Breakdance.
Create page with some sections
Check Theme setting is "Disable theme"
View created page
Result:
<body class="breakdance ...>
<header>
<section>
<section>
<section> - this is the footer
</body>
Switch to "Keep Theme" and view page:
Result:
<body class="breakdance ...">
<div class="breakdance">
<header> - this is the header
</div>
<div class="breakdance">
<section>
<section>
</div>
<div class="breakdance">
<section> - this is the footer
<div>
</body>
No, it is 100% necessary for visual consistency between the frontend and the builder. There are many edge cases. Sure, it looks like it works if you just put it on the body class, but it doesn't. Not really. Not in all cases.
No, it is 100% necessary for visual consistency between the frontend and the builder. There are many edge cases. Sure, it looks like it works if you just put it on the body class, but it doesn't. Not really. Not in all cases.
This behavior won't change.
It cant't be absolutely necessary.
It's particularly bad as :
it has 'breakdance' as a class on multiple levels of the DOM heirachy - I've had occasions where code that was shared wouldn't work because of this, and
it inserts the 'breakdance' class even on pages where Breakdance isn't active.
The bug is if using the Breakdance Zero Theme with the "Keep Theme" setting leads to all sections of a page being wrapped in the
Steps to reproduce:
Result:
Result:
Same here, multiple wrapper divs with class of "breakdance", screenshot attached:
There was a previous issue I opened about this, Louis said it is by design and required:
https://github.com/soflyy/breakdance-bugs/issues/547
https://github.com/soflyy/breakdance-bugs/issues/547#issuecomment-1323139921
It cant't be absolutely necessary. It's particularly bad as :