Bläddra i källkod

Explicitly declare wide styles.

Caroline Moore 6 år sedan
förälder
incheckning
88c9a311e8
1 ändrade filer med 3 tillägg och 0 borttagningar
  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(