[Resolved] Frontend Styling for Gutenberg

Home Forums Support [Resolved] Frontend Styling for Gutenberg

Home Forums Support Frontend Styling for Gutenberg

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #734376
    Bogdan

    Dear GeneratePress Team,

    I am really thrilled about the latest 2.2 release, however regarding the Frontend Styling for Gutenberg I have two things to bring to you attention:

    1) The style.css in the generatepress_child folder is not evaluated which makes Frontend Styling depending of the amount of CSS customization quite incomplete.

    2) I would like to be able to disable Frontend Styling for Gutenberg somewhere.

    Thank you,
    Bogdan

    #734784
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    1. Regular CSS styling isn’t loaded in Gutenberg. We’ve specifically taken the content aspects of the theme styling (things you can customize), and integrated them into Gutenberg using Gutenberg-specific CSS selectors. In most cases, the selectors you’d use on the frontend of your site wouldn’t apply in Gutenberg.

    2. To remove the block editor styling that GP adds, you can do this:

    remove_action( 'enqueue_block_editor_assets', 'generate_enqueue_backend_block_editor_assets' );

    #735596
    Bogdan

    Thank you Tom, I will stick with 2) in this case.

    #736287
    Tom
    Lead Developer
    Lead Developer

    Sounds good 🙂

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