'Title', 'font' => 'primary', 'font_weight' => '', 'content_width' => '100', 'color_scheme' => '', 'color' => '', 'size' => 'default', 'align' => 'center', 'text_font_size' => '', 'inline' => 'no', // Old size 'desktop_text_size' => '', 'tablet_text_size' => '', 'mobile_text_size' => '', 'woodmart_css_id' => '', 'css_animation' => 'none', 'el_class' => '', 'css' => '', ), $atts ) ); $text_class = $text_wrapper_class = ''; if ( ! $woodmart_css_id ) { $woodmart_css_id = uniqid(); } $text_id = 'wd-' . $woodmart_css_id; $text_wrapper_class .= ' color-scheme-' . $color_scheme; $text_wrapper_class .= ' wd-width-' . $content_width; $text_wrapper_class .= ' text-' . $align; $text_wrapper_class .= $inline == 'yes' ? ' inline-element' : ''; $text_wrapper_class .= woodmart_get_css_animation( $css_animation ); $text_class .= ' font-' . $font; $text_class .= ' wd-font-weight-' . $font_weight; $text_class .= ' ' . woodmart_get_new_size_classes( 'text', $size, 'title' ); if ( function_exists( 'vc_shortcode_custom_css_class' ) ) { $text_wrapper_class .= ' ' . vc_shortcode_custom_css_class( $css ); } if ( $el_class != '' ) { $text_wrapper_class .= ' ' . $el_class; } woodmart_enqueue_inline_style( 'responsive-text' ); ob_start(); ?>