• Resolved almcr

    (@almcr)


    when this “add_theme_support( ‘wp-block-styles’ );” is added
    to a theme’s functions.php,
    what is the effect on the theme?
    what is generated as a result of this in the theme?

    Al

Viewing 1 replies (of 1 total)
  • Some blocks in Gutenberg like tables, quotes, separator benefit from structural styles (margin, padding, border etc…)
    They are applied visually only in the editor (back-end) but not on the front-end to avoid the risk of conflicts with the styles wanted in the theme.
    If you want to display them on front to have a base to work with, in this case, you can add support for wp-block-styles.
    You can consult Matias Ventura’s tickets to keep you informed about Gutenberg developments : https://make.www.ads-software.com/core/2018/06/05/whats-new-in-gutenberg-5th-june/

Viewing 1 replies (of 1 total)
  • The topic ‘wp-block-styles’ is closed to new replies.