diff --git a/plugins/woocommerce-admin/client/settings/content.js b/plugins/woocommerce-admin/client/settings/content.js index 571c49bb115..0154356c974 100644 --- a/plugins/woocommerce-admin/client/settings/content.js +++ b/plugins/woocommerce-admin/client/settings/content.js @@ -103,9 +103,10 @@ export const Content = ( { data } ) => { return (

{ setting.title }

+

{ setting.desc }

); case 'checkbox': diff --git a/plugins/woocommerce-admin/client/settings/style.scss b/plugins/woocommerce-admin/client/settings/style.scss index f6bf3cc6bfe..be2eede2f21 100644 --- a/plugins/woocommerce-admin/client/settings/style.scss +++ b/plugins/woocommerce-admin/client/settings/style.scss @@ -187,10 +187,6 @@ justify-content: space-between; margin: 16px 0px; - &:first-of-type { - margin: 0; - } - h4 { margin: 0; min-width: 200px; @@ -205,3 +201,13 @@ max-width: 420px; } } + +.woocommerce-settings-title { + display: flex; + flex-direction: column; + margin-bottom: 30px; + + h3 { + margin: 10px 0 0 0; + } +} diff --git a/plugins/woocommerce/includes/admin/settings/class-wc-settings-page.php b/plugins/woocommerce/includes/admin/settings/class-wc-settings-page.php index 86a9590df92..efb88813c0c 100644 --- a/plugins/woocommerce/includes/admin/settings/class-wc-settings-page.php +++ b/plugins/woocommerce/includes/admin/settings/class-wc-settings-page.php @@ -178,6 +178,7 @@ if ( ! class_exists( 'WC_Settings_Page', false ) ) : } // Otherwise, render the page's output method. + $html = str_replace('THIS IS THE PARENT OUTPUT', '', $html); $tags = new WP_HTML_Tag_Processor( $html ); while( $tags->next_tag( array( 'tag_name' => 'script' ) ) ) { $script_type = $tags->get_attribute( 'type' );