= 10 && $business_accounting_logo_size < 100) { $business_accounting_custom_style .=' .custom-logo-link img {'; $business_accounting_custom_style .=' width: '.esc_attr($business_accounting_logo_size).'%;'; $business_accounting_custom_style .=' }'; } } // service section padding $business_accounting_feature_section_padding = get_theme_mod('business_accounting_feature_section_padding'); if( $business_accounting_feature_section_padding != ''){ $business_accounting_custom_style .=' #our-features {'; $business_accounting_custom_style .=' padding-top: '.esc_attr($business_accounting_feature_section_padding).'px; padding-bottom: '.esc_attr($business_accounting_feature_section_padding).'px;'; $business_accounting_custom_style .=' }'; } // Site Title Font Size $business_accounting_site_title_font_size = get_theme_mod('business_accounting_site_title_font_size'); if( $business_accounting_site_title_font_size != ''){ $business_accounting_custom_style .=' .logo h1.site-title, .logo p.site-title {'; $business_accounting_custom_style .=' font-size: '.esc_attr($business_accounting_site_title_font_size).'px;'; $business_accounting_custom_style .=' }'; } // Site Tagline Font Size $business_accounting_site_tagline_font_size = get_theme_mod('business_accounting_site_tagline_font_size'); if( $business_accounting_site_tagline_font_size != ''){ $business_accounting_custom_style .=' .logo p.site-description {'; $business_accounting_custom_style .=' font-size: '.esc_attr($business_accounting_site_tagline_font_size).'px;'; $business_accounting_custom_style .=' }'; } //layout width $business_accounting_boxfull_width = get_theme_mod('business_accounting_boxfull_width'); if ($business_accounting_boxfull_width !== '') { switch ($business_accounting_boxfull_width) { case 'container': $business_accounting_custom_style .= ' body { max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }'; break; case 'container-fluid': $business_accounting_custom_style .= ' body { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }'; break; case 'none': // No specific width specified, so no additional style needed. break; default: // Handle unexpected values. break; } } //Menu animation $business_accounting_dropdown_anim = get_theme_mod('business_accounting_dropdown_anim'); if ( $business_accounting_dropdown_anim != '') { $business_accounting_custom_style .=' .nav-menu ul ul {'; $business_accounting_custom_style .=' animation:'.esc_attr($business_accounting_dropdown_anim).' 1s ease;'; $business_accounting_custom_style .=' }'; } // Copyright padding $business_accounting_copyright_padding = get_theme_mod('business_accounting_copyright_padding'); if( $business_accounting_copyright_padding != ''){ $business_accounting_custom_style .=' .site-info {'; $business_accounting_custom_style .=' padding-top: '.esc_attr($business_accounting_copyright_padding).'px; padding-bottom: '.esc_attr($business_accounting_copyright_padding).'px;'; $business_accounting_custom_style .=' }'; } $business_accounting_slider_hide_show = get_theme_mod('business_accounting_slider_hide_show',false); if( $business_accounting_slider_hide_show == true){ $business_accounting_custom_style .=' .page-template-custom-home-page #inner-pages-header {'; $business_accounting_custom_style .=' display:none;'; $business_accounting_custom_style .=' }'; } $business_accounting_copyright_color = get_theme_mod('business_accounting_copyright_color'); if ( $business_accounting_copyright_color != '') { $business_accounting_custom_style .=' .site-info p a {'; $business_accounting_custom_style .=' color:'.esc_attr($business_accounting_copyright_color).';'; $business_accounting_custom_style .=' }'; } $business_accounting_copyrightbg_color = get_theme_mod('business_accounting_copyrightbg_color'); if ( $business_accounting_copyrightbg_color != '') { $business_accounting_custom_style .=' .copyright {'; $business_accounting_custom_style .=' background-color:'.esc_attr($business_accounting_copyrightbg_color).';'; $business_accounting_custom_style .=' }'; } //topbar color $business_accounting_topbar_color = get_theme_mod('business_accounting_topbar_color'); if ( $business_accounting_topbar_color != '') { $business_accounting_custom_style .=' .topbar .mail a, .topbar .social-icons i {'; $business_accounting_custom_style .=' color:'.esc_attr($business_accounting_topbar_color).';'; $business_accounting_custom_style .=' }'; } $business_accounting_topbarbg_color = get_theme_mod('business_accounting_topbarbg_color'); if ( $business_accounting_topbarbg_color != '') { $business_accounting_custom_style .=' .topbar {'; $business_accounting_custom_style .=' background-color:'.esc_attr($business_accounting_topbarbg_color).';'; $business_accounting_custom_style .=' }'; } $business_accounting_menu_color = get_theme_mod('business_accounting_menu_color'); if ( $business_accounting_menu_color != '') { $business_accounting_custom_style .=' .nav-menu ul li a {'; $business_accounting_custom_style .=' color:'.esc_attr($business_accounting_menu_color).';'; $business_accounting_custom_style .=' }'; } $business_accounting_hdrbtn_color = get_theme_mod('business_accounting_hdrbtn_color'); if ( $business_accounting_hdrbtn_color != '') { $business_accounting_custom_style .=' .call span a {'; $business_accounting_custom_style .=' color:'.esc_attr($business_accounting_hdrbtn_color).';'; $business_accounting_custom_style .=' }'; } $business_accounting_hdrbtnbg_color = get_theme_mod('business_accounting_hdrbtnbg_color'); if ( $business_accounting_hdrbtnbg_color != '') { $business_accounting_custom_style .=' .call span {'; $business_accounting_custom_style .=' background-color:'.esc_attr($business_accounting_hdrbtnbg_color).';'; $business_accounting_custom_style .=' }'; } //Slider color $business_accounting_slider_title_color = get_theme_mod('business_accounting_slider_title_color'); if ( $business_accounting_slider_title_color != '') { $business_accounting_custom_style .=' #banner .banner-content small {'; $business_accounting_custom_style .=' color:'.esc_attr($business_accounting_slider_title_color).';'; $business_accounting_custom_style .=' }'; } $business_accounting_slider_color = get_theme_mod('business_accounting_slider_color'); if ( $business_accounting_slider_color != '') { $business_accounting_custom_style .=' #banner .banner-content h2 a {'; $business_accounting_custom_style .=' color:'.esc_attr($business_accounting_slider_color).';'; $business_accounting_custom_style .=' }'; } $business_accounting_sliderbtn_color = get_theme_mod('business_accounting_sliderbtn_color'); $business_accounting_sliderbtnbg_color = get_theme_mod('business_accounting_sliderbtnbg_color'); if ( $business_accounting_sliderbtn_color != '') { $business_accounting_custom_style .=' #banner .read-btn a {'; $business_accounting_custom_style .=' color:'.esc_attr($business_accounting_sliderbtn_color).'; background-color:'.esc_attr($business_accounting_sliderbtnbg_color).';'; $business_accounting_custom_style .=' }'; } $business_accounting_sliderbtnhvr_color = get_theme_mod('business_accounting_sliderbtnhvr_color'); $business_accounting_sliderbtnhvrbg_color = get_theme_mod('business_accounting_sliderbtnhvrbg_color'); if ( $business_accounting_sliderbtnhvr_color != '') { $business_accounting_custom_style .=' #banner .read-btn a:hover {'; $business_accounting_custom_style .=' color:'.esc_attr($business_accounting_sliderbtnhvr_color).'; background-color:'.esc_attr($business_accounting_sliderbtnhvrbg_color).';'; $business_accounting_custom_style .=' }'; } //Feature color $business_accounting_feature_img_size = get_theme_mod('business_accounting_feature_img_size'); if( $business_accounting_feature_img_size != ''){ $business_accounting_custom_style .=' #our-features img {'; $business_accounting_custom_style .=' width: '.esc_attr($business_accounting_feature_img_size).'px; height: '.esc_attr($business_accounting_feature_img_size).'px;'; $business_accounting_custom_style .=' }'; } $business_accounting_features_heading_color = get_theme_mod('business_accounting_features_heading_color'); if ( $business_accounting_features_heading_color != '') { $business_accounting_custom_style .=' .features-title h2 {'; $business_accounting_custom_style .=' color:'.esc_attr($business_accounting_features_heading_color).';'; $business_accounting_custom_style .=' }'; } $business_accounting_features_title_color = get_theme_mod('business_accounting_features_title_color'); if ( $business_accounting_features_title_color != '') { $business_accounting_custom_style .=' .features-content h3 a {'; $business_accounting_custom_style .=' color:'.esc_attr($business_accounting_features_title_color).';'; $business_accounting_custom_style .=' }'; } $business_accounting_features_text_color = get_theme_mod('business_accounting_features_text_color'); if ( $business_accounting_features_text_color != '') { $business_accounting_custom_style .=' .features-content p {'; $business_accounting_custom_style .=' color:'.esc_attr($business_accounting_features_text_color).';'; $business_accounting_custom_style .=' }'; }