diff --git a/coutoire/functions.php b/coutoire/functions.php index ed42ccf3e..f7edefda3 100755 --- a/coutoire/functions.php +++ b/coutoire/functions.php @@ -94,19 +94,12 @@ endif; add_action( 'after_setup_theme', 'coutoire_setup' ); /** - * Set the content width in pixels, based on the child-theme's design and stylesheet. - * - * Priority 0 to make it available to lower priority callbacks. - * - * @global int $content_width Content width. + * Filter the content_width in pixels, based on the child-theme's design and stylesheet. */ function coutoire_content_width() { - // This variable is intended to be overruled from themes. - // Open WPCS issue: {@link https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1043}. - // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound - $GLOBALS['content_width'] = apply_filters( 'coutoire_content_width', 1200 ); + return 1200; } -add_action( 'after_setup_theme', 'coutoire_content_width', 0 ); +add_filter( 'varia_content_width', 'coutoire_content_width' ); /** * Add Google webfonts, if necessary diff --git a/coutoire/style-rtl.css b/coutoire/style-rtl.css index f154a5c62..81837065d 100644 --- a/coutoire/style-rtl.css +++ b/coutoire/style-rtl.css @@ -1860,6 +1860,11 @@ hr.is-style-dots:before { } } +.jetpack_subscription_widget input[type="text"] { + padding: 16px !important; + width: 100% !important; +} + table, .wp-block-table { width: 100%;