mirror of
https://github.com/woocommerce/storefront.git
synced 2025-08-21 04:11:59 +08:00
Fix: different Add to Cart Button color inside products grid blocks between editor and front end. (#2066)
This commit is contained in:
parent
dc321f544f
commit
5aadfcbc7d
2 changed files with 6 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue