Accordion in sidebar loses styling if…
-
If an accordion block is used in a sidebar (mainbar left or right), but the Primary Content contains ONLY a Classic block or Gutenberg shortcode blocks, then the styling of the accordion doesn’t load (style) properly. Other blocks in Primary Content may cause the same effect, but these are just the ones I’ve found the problem with.
Simply placing a paragraph block in the Primary content, and a word or two of text, along with your Classic Block or Gutenberg shortcode blocks will correct the styling issue of the accordion in your sidebar.
Just a heads-up, really. No errors get reported in Console. Nothing, anywhere. It took me an embarrassingly long time to happen on the workaround above.
- The topic ‘Accordion in sidebar loses styling if…’ is closed to new replies.