a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a, .social-media i:hover, #about h3, #featured-car h2, p.simplep a:hover, #slider .inner_carousel h1 a:hover, .main-navigation ul ul li:hover > a, .more-btn a:hover, #about h3 a:hover, #about .more-btn a:hover, p.simplep:hover, #footer p.wp-block-tag-cloud a:hover, #footer .tagcloud a:hover, .search_inner form.search-form, #footer li a:hover, .wc-block-components-totals-coupon-link:hover, .box-info i, .search-bar i, #featured-car h4 a:hover, #about h2, a.added_to_cart.wc-forward, .post_tag a:hover, #theme-sidebar .widget_tag_cloud a:hover, .toggle-nav button, .toggle-nav button{'; $automobile_hub_tp_theme_css .='color: '.esc_attr($automobile_hub_tp_color_option).';'; $automobile_hub_tp_theme_css .='}'; } if($automobile_hub_tp_color_option != false){ $automobile_hub_tp_theme_css .='.logo h1 a, .logo p a{'; $automobile_hub_tp_theme_css .='color: '.esc_attr($automobile_hub_tp_color_option).'!important;'; $automobile_hub_tp_theme_css .='}'; } if($automobile_hub_tp_color_option != false){ $automobile_hub_tp_theme_css .='.woocommerce-message {'; $automobile_hub_tp_theme_css .='border-top-color: '.esc_attr($automobile_hub_tp_color_option).';'; $automobile_hub_tp_theme_css .='}'; } if($automobile_hub_tp_color_option != false){ $automobile_hub_tp_theme_css .=' .page-box,#theme-sidebar section,.page-box,#theme-sidebar section{'; $automobile_hub_tp_theme_css .='border-bottom-color: '.esc_attr($automobile_hub_tp_color_option).';'; $automobile_hub_tp_theme_css .='}'; } if($automobile_hub_tp_color_option != false){ $automobile_hub_tp_theme_css .=' .page-box,#theme-sidebar section,.page-box,#theme-sidebar section {'; $automobile_hub_tp_theme_css .='border-left-color: '.esc_attr($automobile_hub_tp_color_option).';'; $automobile_hub_tp_theme_css .='}'; } if($automobile_hub_tp_color_option != false){ $automobile_hub_tp_theme_css .='#footer p.wp-block-tag-cloud a:hover,#footer .tagcloud a:hover,.search_inner form.search-form,.readmore-btn a,.post_tag a:hover,#theme-sidebar .widget_tag_cloud a:hover {'; $automobile_hub_tp_theme_css .='border-color: '.esc_attr($automobile_hub_tp_color_option).';'; $automobile_hub_tp_theme_css .='}'; } // preloader $automobile_hub_tp_preloader_color1_option = get_theme_mod('automobile_hub_tp_preloader_color1_option'); if($automobile_hub_tp_preloader_color1_option != false){ $automobile_hub_tp_theme_css .='.center1{'; $automobile_hub_tp_theme_css .='border-color: '.esc_attr($automobile_hub_tp_preloader_color1_option).' !important;'; $automobile_hub_tp_theme_css .='}'; } if($automobile_hub_tp_preloader_color1_option != false){ $automobile_hub_tp_theme_css .='.center1 .ring::before{'; $automobile_hub_tp_theme_css .='background: '.esc_attr($automobile_hub_tp_preloader_color1_option).' !important;'; $automobile_hub_tp_theme_css .='}'; } $automobile_hub_tp_preloader_color2_option = get_theme_mod('automobile_hub_tp_preloader_color2_option'); if($automobile_hub_tp_preloader_color2_option != false){ $automobile_hub_tp_theme_css .='.center2{'; $automobile_hub_tp_theme_css .='border-color: '.esc_attr($automobile_hub_tp_preloader_color2_option).' !important;'; $automobile_hub_tp_theme_css .='}'; } if($automobile_hub_tp_preloader_color2_option != false){ $automobile_hub_tp_theme_css .='.center2 .ring::before{'; $automobile_hub_tp_theme_css .='background: '.esc_attr($automobile_hub_tp_preloader_color2_option).' !important;'; $automobile_hub_tp_theme_css .='}'; } $automobile_hub_tp_preloader_bg_color_option = get_theme_mod('automobile_hub_tp_preloader_bg_color_option'); if($automobile_hub_tp_preloader_bg_color_option != false){ $automobile_hub_tp_theme_css .='.loader{'; $automobile_hub_tp_theme_css .='background: '.esc_attr($automobile_hub_tp_preloader_bg_color_option).';'; $automobile_hub_tp_theme_css .='}'; } $automobile_hub_tp_footer_bg_color_option = get_theme_mod('automobile_hub_tp_footer_bg_color_option'); if($automobile_hub_tp_footer_bg_color_option != false){ $automobile_hub_tp_theme_css .='#footer{'; $automobile_hub_tp_theme_css .='background: '.esc_attr($automobile_hub_tp_footer_bg_color_option).';'; $automobile_hub_tp_theme_css .='}'; } $automobile_hub_footer_widget_image = get_theme_mod('automobile_hub_footer_widget_image'); if($automobile_hub_footer_widget_image != false){ $automobile_hub_tp_theme_css .='#footer{'; $automobile_hub_tp_theme_css .='background: url('.esc_attr($automobile_hub_footer_widget_image).');'; $automobile_hub_tp_theme_css .='}'; } //======================= slider Content layout ===================== // $automobile_hub_slider_content_layout = get_theme_mod('automobile_hub_slider_content_layout', 'LEFT-ALIGN'); $automobile_hub_tp_theme_css .= '#slider .carousel-caption{'; switch ($automobile_hub_slider_content_layout) { case 'LEFT-ALIGN': $automobile_hub_tp_theme_css .= 'text-align:left; right: 40%; left: 15%'; break; case 'CENTER-ALIGN': $automobile_hub_tp_theme_css .= 'text-align:center; left: 20%; right: 20%'; break; case 'RIGHT-ALIGN': $automobile_hub_tp_theme_css .= 'text-align:right; left: 40%; right: 15%'; break; default: $automobile_hub_tp_theme_css .= 'text-align:left; right: 40%; left: 15%'; break; } $automobile_hub_tp_theme_css .= '}'; //Font Weight $automobile_hub_menu_font_weight = get_theme_mod( 'automobile_hub_menu_font_weight','400'); if($automobile_hub_menu_font_weight == '100'){ $automobile_hub_tp_theme_css .='.main-navigation a{'; $automobile_hub_tp_theme_css .='font-weight: 100;'; $automobile_hub_tp_theme_css .='}'; }else if($automobile_hub_menu_font_weight == '200'){ $automobile_hub_tp_theme_css .='.main-navigation a{'; $automobile_hub_tp_theme_css .='font-weight: 200;'; $automobile_hub_tp_theme_css .='}'; }else if($automobile_hub_menu_font_weight == '300'){ $automobile_hub_tp_theme_css .='.main-navigation a{'; $automobile_hub_tp_theme_css .='font-weight: 300;'; $automobile_hub_tp_theme_css .='}'; }else if($automobile_hub_menu_font_weight == '400'){ $automobile_hub_tp_theme_css .='.main-navigation a{'; $automobile_hub_tp_theme_css .='font-weight: 400;'; $automobile_hub_tp_theme_css .='}'; }else if($automobile_hub_menu_font_weight == '500'){ $automobile_hub_tp_theme_css .='.main-navigation a{'; $automobile_hub_tp_theme_css .='font-weight: 500;'; $automobile_hub_tp_theme_css .='}'; }else if($automobile_hub_menu_font_weight == '600'){ $automobile_hub_tp_theme_css .='.main-navigation a{'; $automobile_hub_tp_theme_css .='font-weight: 600;'; $automobile_hub_tp_theme_css .='}'; }else if($automobile_hub_menu_font_weight == '700'){ $automobile_hub_tp_theme_css .='.main-navigation a{'; $automobile_hub_tp_theme_css .='font-weight: 700;'; $automobile_hub_tp_theme_css .='}'; }else if($automobile_hub_menu_font_weight == '800'){ $automobile_hub_tp_theme_css .='.main-navigation a{'; $automobile_hub_tp_theme_css .='font-weight: 800;'; $automobile_hub_tp_theme_css .='}'; }else if($automobile_hub_menu_font_weight == '900'){ $automobile_hub_tp_theme_css .='.main-navigation a{'; $automobile_hub_tp_theme_css .='font-weight: 900;'; $automobile_hub_tp_theme_css .='}'; }