Skip to content

Commit

Permalink
Issue #44 - remove add_theme_support( 'align-wide' ) and update exper…
Browse files Browse the repository at this point in the history
…imental-theme.json to use layout for contentSize and wideSize
  • Loading branch information
bobbingwide committed Apr 8, 2021
1 parent ea0da16 commit a0d6891
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 20 deletions.
22 changes: 4 additions & 18 deletions experimental-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,24 +169,10 @@
"spacing": {
"customPadding": true
},
"custom": {
"font-primary": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif",
"line-height": {
"body": 1.7,
"heading": 1.3,
"page-title": 1.1
},
"responsive": {
"aligndefault-width": "1140px",
"alignwide-width": "1340px"
},
"spacing": {
"unit": "20px",
"horizontal": "25px",
"vertical": "30px"
}
}
}
"layout": {
"contentSize": "1140px",
"wideSize": "1340px"
}
},
"styles": {
"root": {
Expand Down
4 changes: 2 additions & 2 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ function fizzie_after_setup_theme()
add_action('wp_enqueue_scripts', 'fizzie_enqueue_a2z');

add_theme_support('wp-block-styles');
add_theme_support('align-wide');
//add_theme_support('align-wide');
add_theme_support('custom-line-height');
add_theme_support('responsive-embeds');

Expand Down Expand Up @@ -112,7 +112,7 @@ function fizzie_stanley_theme_support() {
add_editor_style( 'style-editor.css' );

// Add support for full and wide align blocks.
add_theme_support( 'align-wide' );
//add_theme_support( 'align-wide' );


}
Expand Down

0 comments on commit a0d6891

Please sign in to comment.