plugin updates
This commit is contained in:
@@ -26,6 +26,9 @@ class WC_Twenty_Twelve {
|
||||
add_action( 'woocommerce_before_main_content', array( __CLASS__, 'output_content_wrapper' ) );
|
||||
add_action( 'woocommerce_after_main_content', array( __CLASS__, 'output_content_wrapper_end' ) );
|
||||
|
||||
// Enqueue theme compatibility styles.
|
||||
add_action( 'wp_head', array( __CLASS__, 'enqueue_styles' ) );
|
||||
|
||||
// Declare theme support for features.
|
||||
add_theme_support( 'wc-product-gallery-zoom' );
|
||||
add_theme_support( 'wc-product-gallery-lightbox' );
|
||||
@@ -52,6 +55,21 @@ class WC_Twenty_Twelve {
|
||||
public static function output_content_wrapper_end() {
|
||||
echo '</div></div>';
|
||||
}
|
||||
|
||||
/**
|
||||
* Add theme compatibility styles.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public static function enqueue_styles() {
|
||||
?>
|
||||
<style type="text/css">
|
||||
.wc-block-components-notice-banner.is-error li {
|
||||
margin: 0;
|
||||
}
|
||||
</style>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
||||
WC_Twenty_Twelve::init();
|
||||
|
||||
Reference in New Issue
Block a user