ul > li.highlight, .box:before, .box:after, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .page-numbers, .prev.page-numbers, .next.page-numbers, span.meta-nav, #theme-sidebar button[type="submit"], #footer button[type="submit"], #comments input[type="submit"], .site-info, .book-tkt-btn a.register-btn, #slider .carousel-control-prev-icon, #slider .carousel-control-next-icon, span.cart-value.simplep, .contact-box input[type="text"], .contact-box input[type="email"], .contact-box input[type="phno"], .contact-box input[type="password"], .contact-box textarea, .headerbox, .more-btn, #return-to-top, .featured-car-box, #featured-car .owl-nav i, .error-404 [type="submit"], button[type="submit"], .wc-block-cart__submit-container a, .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button, .woocommerce ul.products li.product .onsale, .woocommerce span.onsale, #theme-sidebar .wp-block-search .wp-block-search__label:before, #theme-sidebar h3:before, #theme-sidebar h1.wp-block-heading:before, #theme-sidebar h2.wp-block-heading:before, #theme-sidebar h3.wp-block-heading:before, #theme-sidebar h4.wp-block-heading:before, #theme-sidebar h5.wp-block-heading:before, #theme-sidebar h6.wp-block-heading:before, .wp-block-woocommerce-cart .wp-block-button .wp-block-button__link {'; $automobile_hub_tp_theme_css .='background: '.esc_attr($automobile_hub_tp_color_option).';'; $automobile_hub_tp_theme_css .='}'; } if($automobile_hub_tp_color_option != false){ $automobile_hub_tp_theme_css .='a, a:hover, #theme-sidebar .textwidget a, #footer .textwidget a, .comment-body a, .entry-content a, .entry-summary a, .page-template-front-page .media-links a:hover, .topbar-home i.fas.fa-phone-volume, #theme-sidebar h3, .woocommerce-message::before, .main-navigation .current_page_item > a, .main-navigation .current-menu-item > a, .main-navigation .current_page_ancestor > a, p.infotext, #about h3, .search-box i, .social-media i:hover, .main-navigation a:hover, .page-box h4 a, .readmore-btn a, .headerbox i, #about p i, .cat-inner-box h3, .box-content a, #theme-sidebar h1.wp-block-heading, #theme-sidebar h2.wp-block-heading, #theme-sidebar h3.wp-block-heading, #theme-sidebar h4.wp-block-heading, #theme-sidebar h5.wp-block-heading, #theme-sidebar h6.wp-block-heading, .post_tag a:hover, #theme-sidebar a:hover, #theme-sidebar .wp-block-search .wp-block-search__label, #theme-sidebar .widget_tag_cloud a:hover, .headerbox i:hover, .box-info i, a.added_to_cart.wc-forward, .wc-block-checkout__actions_row a, #footer .tagcloud a:hover, #footer p.wp-block-tag-cloud a:hover, #footer li a:hover, #slider .inner_carousel h1 a:hover, .more-btn a:hover, #about h3 a:hover, #about .more-btn a:hover {'; $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 .='.woocommerce-message,.post_tag a:hover {'; $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{'; $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 {'; $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 .='.featured-car-box span,.post_tag a:hover {'; $automobile_hub_tp_theme_css .='border-right-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 .='#theme-sidebar .widget_tag_cloud a:hover,.readmore-btn a,#footer .tagcloud a:hover, #footer p.wp-block-tag-cloud a:hover,.readmore-btn a:hover {'; $automobile_hub_tp_theme_css .='border-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 .='@media screen and (max-width:1000px) {'; $automobile_hub_tp_theme_css .='.toggle-nav i {'; $automobile_hub_tp_theme_css .='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 ===================== // $auto_motors_slider_content_layout = get_theme_mod('auto_motors_slider_content_layout', 'RIGHT-ALIGN'); $automobile_hub_tp_theme_css .= '#slider .carousel-caption{'; switch ($auto_motors_slider_content_layout) { case 'LEFT-ALIGN': $automobile_hub_tp_theme_css .= 'text-align:left; right: 50%; 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: 50%; right: 15%'; break; default: $automobile_hub_tp_theme_css .= 'text-align:left; right: 50%; 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 .='}'; } // header $automobile_hub_slider_arrows = get_theme_mod('automobile_hub_slider_arrows'); if($automobile_hub_slider_arrows != true){ $automobile_hub_tp_theme_css .='.page-template-front-page .menubar{'; $automobile_hub_tp_theme_css .='position:static;background: #151515;'; $automobile_hub_tp_theme_css .='}'; } // logo tagline color $automobile_hub_site_tagline_color = get_theme_mod('automobile_hub_site_tagline_color'); if($automobile_hub_site_tagline_color != false){ $automobile_hub_tp_theme_css .='.logo h1 a, .logo p a, .logo p.site-title a{'; $automobile_hub_tp_theme_css .='color: '.esc_attr($automobile_hub_site_tagline_color).';'; $automobile_hub_tp_theme_css .='}'; }