From 8498c2769e049c9a1ef8f32380d0848f8308e961 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alba=20Rinc=C3=B3n?= Date: Fri, 29 Apr 2022 12:49:17 +0200 Subject: [PATCH] Adjust styles --- src/BlockTypes/FeaturedProduct.php | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/src/BlockTypes/FeaturedProduct.php b/src/BlockTypes/FeaturedProduct.php index f4663aaafcf..abd179ef98f 100644 --- a/src/BlockTypes/FeaturedProduct.php +++ b/src/BlockTypes/FeaturedProduct.php @@ -94,16 +94,13 @@ protected function render( $attributes, $content ) { wp_kses_post( $product->get_price_html() ) ); - $styles = $this->get_styles( $attributes ); - $classes = $this->get_classes( $attributes ); - - $output = sprintf( '