[Support request] Issue with pullquote in Gutenberg

Home Forums Support [Support request] Issue with pullquote in Gutenberg

Home Forums Support Issue with pullquote in Gutenberg

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #791831
    Swadhin

    Hi there,

    I am currently using the Gutenberg editor and I have selected a pullquote format for a block (search for “FYI” in the article to know the exact block) for one of my articles.

    However, on the frontend, all that loads is a basic quote. Please help. ๐Ÿ™‚

    GP Premium 1.7.7
    #792081
    David
    Staff
    Customer Support

    Hi there,

    looks like Gutenberg only does half the styling hmmm – something to look into, in the meantime try this CSS:

    .wp-block-pullquote {
        border-top: 2px solid;
        border-bottom: 2px solid;
    }
    
    .wp-block-pullquote blockquote {
        border: none;
        margin: 0;
    }
    #792144
    Swadhin

    Thank you. Is there anything you guys can do to fix this permanently (without the CSS) or we should let WP fix that in upcoming updates?

    Thanks for the CSS. Using that for now. ๐Ÿ™‚

    best regards,
    -Swadhin

    #792156
    Tom
    Lead Developer
    Lead Developer

    Gutenberg has an optional additional CSS file. We don’t/won’t add it by default, as it will increase the size of your pages, but we’ll likely add an option to add it in GP 2.3.

    For now, you can do this:

    add_action( 'after_setup_theme', function() {
        add_theme_support( 'wp-block-styles' );
    } );

    Adding PHP: https://docs.generatepress.com/article/adding-php/

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