From 1ee6795c29b13cbde339d4f81dbefa60d9cc389f Mon Sep 17 00:00:00 2001 From: Ronald Huereca Date: Fri, 16 Aug 2024 13:17:30 -0500 Subject: [PATCH] Removing align from caption. --- includes/Blocks.php | 1 - 1 file changed, 1 deletion(-) 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,