tag echo ''; //Social icon Font size $building_constructor_social_icon_fontsize = get_theme_mod('building_constructor_social_icon_fontsize'); $construction_hub_tp_theme_css .='.social-media a i{'; $construction_hub_tp_theme_css .='font-size: '.esc_attr($building_constructor_social_icon_fontsize).'px;'; $construction_hub_tp_theme_css .='}'; //======================= slider Content layout ===================== // $construction_hub_slider_content_layout = get_theme_mod('construction_hub_slider_content_layout', 'CENTER-ALIGN'); $construction_hub_tp_theme_css .= '#slider .carousel-caption{'; switch ($construction_hub_slider_content_layout) { case 'LEFT-ALIGN': $construction_hub_tp_theme_css .= 'text-align:left; right: 35%; left: 20%'; break; case 'CENTER-ALIGN': $construction_hub_tp_theme_css .= 'text-align:center; left: 25%; right: 25%'; break; case 'RIGHT-ALIGN': $construction_hub_tp_theme_css .= 'text-align:right; left: 35%; right: 20%'; break; default: $construction_hub_tp_theme_css .= 'text-align:left; right: 35%; left: 20%'; break; } $construction_hub_tp_theme_css .= '}'; // logo tagline color $construction_hub_site_title_color = get_theme_mod('construction_hub_site_title_color'); if($construction_hub_site_title_color != false){ $construction_hub_tp_theme_css .='.logo h1 a, .logo p.site-title a{'; $construction_hub_tp_theme_css .='color: '.esc_attr($construction_hub_site_title_color).';'; $construction_hub_tp_theme_css .='}'; } $construction_hub_logo_tagline_color = get_theme_mod('construction_hub_logo_tagline_color'); if($construction_hub_logo_tagline_color != false){ $construction_hub_tp_theme_css .='p.site-description{'; $construction_hub_tp_theme_css .='color: '.esc_attr($construction_hub_logo_tagline_color).';'; $construction_hub_tp_theme_css .='}'; } // footer widget title font size $construction_hub_footer_widget_title_font_size = get_theme_mod('construction_hub_footer_widget_title_font_size', '');{ $construction_hub_tp_theme_css .='#footer h3, #footer h2.wp-block-heading{'; $construction_hub_tp_theme_css .='font-size: '.esc_attr($construction_hub_footer_widget_title_font_size).'px !important;'; $construction_hub_tp_theme_css .='}'; }