[Resolved] Blocks Styles Support

Home Forums Support [Resolved] Blocks Styles Support

Home Forums Support Blocks Styles Support

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1603351
    Lox

    Hello,

    I am developing a child theme with GP and I am missing block styles.
    This doesn’t show the styles selection box in Gutenberg:

    
    const { registerBlockStyle } = wp.blocks;
    const { __ } = wp.i18n;
    
    registerBlockStyle('generateblocks/headline', {
        name: 'kara-fancy-centered',
        label: __('Kara centered', 'kara'),
        isDefault: true
    });
    
    #1603378
    Lox

    Forget it, it does work.

    #1603576
    David
    Staff
    Customer Support

    Glad to hear you resolved the issue.

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