From f836fb96b04ea30b90b16aa6ee24823a1ea0fde2 Mon Sep 17 00:00:00 2001 From: Mark Woodard Date: Mon, 25 Nov 2024 17:26:00 -0600 Subject: [PATCH] Fixing an issue with icon list links with "none" underline style https://stellarwp.atlassian.net/browse/KAD-3605 --- includes/blocks/class-kadence-blocks-icon-list-block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/blocks/class-kadence-blocks-icon-list-block.php b/includes/blocks/class-kadence-blocks-icon-list-block.php index cd254cc40..2348b305e 100644 --- a/includes/blocks/class-kadence-blocks-icon-list-block.php +++ b/includes/blocks/class-kadence-blocks-icon-list-block.php @@ -176,7 +176,7 @@ public function build_css( $attributes, $css, $unique_id, $unique_style_id ) { } if( !empty( $attributes['linkUnderline']) && ( $attributes['linkUnderline'] === 'always' || $attributes['linkUnderline'] === 'none' ) ) { - $css->set_selector( '.wp-block-kadence-iconlist.kt-svg-icon-list-items' . $unique_id . ' .wp-block-kadence-listitem>a' ); + $css->set_selector( '.wp-block-kadence-iconlist.kt-svg-icon-list-items' . $unique_id . ' .wp-block-kadence-listitem a' ); $css->add_property( 'text-decoration', $attributes['linkUnderline'] === 'always' ? 'underline' : 'none' ); } if( !empty( $attributes['linkUnderline']) && $attributes['linkUnderline'] === 'hover' ) {