Skip to content

Commit

Permalink
Removing align from caption.
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldhuereca committed Aug 16, 2024
1 parent 0767db7 commit 1ee6795
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion includes/Blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1ee6795

Please sign in to comment.