$customStyles, "forceRemoveTopPaddingOfRootContainer" => $attributes["forceRemoveTopPaddingOfRootContainer"], ); if ( !$attributes["removeTopSpace"] ) { $attributes["removeTopSpace"] = false; } if ( !$attributes["removeBottomSpace"] ) { $attributes["removeBottomSpace"] = false; } $rootElementStyle = ""; if ( $attributes["removeTopSpace"] ) { $rootElementStyle = $rootElementStyle . "margin-top: 0;"; } if ( $attributes["removeBottomSpace"] ) { $rootElementStyle = $rootElementStyle . "margin-bottom: 0;"; } $alignClass = ""; if ( $attributes["align"] ) { $alignClass = "align" . $attributes["align"]; } //removing unwanted spaces of inline-block elements $content = preg_replace('/\>\s+\<', $content); wp_add_inline_script( 'alb-theme-type-1-banner-block-front-end-js', ' extraBlockDataArray.push( ' . wp_json_encode( $extraBlockData ) . ' ) ', 'before' ); ?>
class="alb-theme-type-1-banner " style="">
alb education, alb block theme, custom banner
class="alb-theme-type-1-banner " style=""> alb education, alb block theme, custom banner