Styling of a block in backend

Support MB Blocks Styling of a block in backend

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #31149
    matijamatija
    Participant

    Hello,

    styling of my custom block disappeared in the Gutenberg editor, but normally displays in the front end.
    Inspector shows that proper classes are there, but no styling is applied.

    What could be the reason for that?

    Thank you

    #31155
    Long NguyenLong Nguyen
    Moderator

    Hi,

    The CSS code should be rendered on the backend when you preview the block. But the JS code might not. Please read more here https://docs.metabox.io/extensions/mb-blocks/#enqueue_style

    If the CSS code is not rendered, please follow the Debugging Information step to troubleshoot the issue https://support.metabox.io/topic/how-to-create-a-new-topic/

    And please let me know how did you enqueue/add the CSS code?

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