Fix: different Add to Cart Button color inside products grid blocks between editor and front end. (#2066)

This commit is contained in:
Tung Du 2022-11-09 08:45:36 +07:00 committed by GitHub
parent dc321f544f
commit 5aadfcbc7d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View file

@ -1097,6 +1097,12 @@ if ( ! class_exists( 'Storefront_Customizer' ) ) :
background-color: ' . storefront_adjust_color_brightness( $storefront_theme_mods['button_background_color'], $darken_factor ) . ';
}
.wc-block-grid__products .wc-block-grid__product .wp-block-button__link {
background-color: ' . $storefront_theme_mods['button_background_color'] . ';
border-color: ' . $storefront_theme_mods['button_background_color'] . ';
color: ' . $storefront_theme_mods['button_text_color'] . ';
}
.wp-block-quote footer,
.wp-block-quote cite,
.wp-block-quote__citation {