diff --git a/includes/Blocks.php b/includes/Blocks.php index 34b77db..d26c765 100644 --- a/includes/Blocks.php +++ b/includes/Blocks.php @@ -421,7 +421,6 @@ public static function caption_frontend( $attributes, $innerblocks_content, $blo $caption_hover_overlay_styles = array( 'dlx-photo-block__caption-wrapper' ); $caption_overlay_styles = array( 'dlx-photo-block__caption', - 'align' . $attributes['captionAlign'], ); $caption_overlay_styles = array_merge( $caption_overlay_styles,