diff --git a/assets/css/base/gutenberg-blocks.scss b/assets/css/base/gutenberg-blocks.scss index b93d92d5..557ef65d 100644 --- a/assets/css/base/gutenberg-blocks.scss +++ b/assets/css/base/gutenberg-blocks.scss @@ -342,7 +342,6 @@ padding: 0; margin-left: auto; margin-right: auto; - color: #000000; } h1 { diff --git a/inc/customizer/class-storefront-customizer.php b/inc/customizer/class-storefront-customizer.php index 35db7c4d..833af3e2 100644 --- a/inc/customizer/class-storefront-customizer.php +++ b/inc/customizer/class-storefront-customizer.php @@ -894,6 +894,15 @@ if ( ! class_exists( 'Storefront_Customizer' ) ) : .wp-block-table:not( .is-style-stripes ) tbody tr:nth-child(2n) td { background-color: ' . storefront_adjust_color_brightness( $storefront_theme_mods['background_color'], -2 ) . '; } + + .wp-block-cover .wp-block-cover__inner-container h1, + .wp-block-cover .wp-block-cover__inner-container h2, + .wp-block-cover .wp-block-cover__inner-container h3, + .wp-block-cover .wp-block-cover__inner-container h4, + .wp-block-cover .wp-block-cover__inner-container h5, + .wp-block-cover .wp-block-cover__inner-container h6 { + color: ' . $storefront_theme_mods['hero_text_color'] . '; + } '; return apply_filters( 'storefront_gutenberg_customizer_css', $styles );