Tet banner

Custom Fields
Support MB Blocks Collapsible group label bug

  • Creator
  • #17843
    Resolved Jackky


Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
  • #17874
    Anh Tran

    Hi Jackky,

    I think the problem is the theme. As you know, WP allows theme to add custom style to the editor. And that might affect the plugin's CSS. I'd suggest you add some small CSS to the edit screen to fix this issue. We've got a tutorial on doing this.


    I've noticed it's because this style

    .editor-styles-wrapper h4 {
        margin-top: 1.33em;
        margin-bottom: 1.33em;

    But this is added by gutenberg by default. Also my suggestion is to refactor all the markup of MetaBox with html 5 and BEM metodology. In this case there will be no conflicts with other styles.

    Anh Tran

    Hi Jackky, thanks for your investigation. I've added CSS to the MB Blocks extension and will release it in the next version.

    Regarding refactoring all the markup, I'm afraid it's not possible due to a lot of unexpected affects and BEM has quite low specificity (usually 1 class), which still be overwritten by WP or other plugins/themes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.