浏览代码

Explicitly declare wide styles.

Caroline Moore 6 年之前
父节点
当前提交
88c9a311e8
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      apostrophe-2/functions.php

+ 3 - 0
apostrophe-2/functions.php

@@ -38,6 +38,9 @@ if ( ! function_exists( 'apostrophe_2_setup' ) ) :
 
 		// Load editor styles and custom fonts.
 		add_editor_style( array( 'editor-style.css', apostrophe_2_fonts_url() ) );
+        
+        // Add wide styles support for Gutenberg
+        add_theme_support( 'align-wide' );
 
 		// Add custom colors to Gutenberg
 		add_theme_support(