li > a{'; $automobile_detailing_shop_theme_css .='text-transform:Capitalize;'; $automobile_detailing_shop_theme_css .='}'; } if($automobile_detailing_shop_nav_menu == 'Lowercase'){ $automobile_detailing_shop_theme_css .='.main-navigation .menu > li > a{'; $automobile_detailing_shop_theme_css .='text-transform:Lowercase;'; $automobile_detailing_shop_theme_css .='}'; } if($automobile_detailing_shop_nav_menu == 'Uppercase'){ $automobile_detailing_shop_theme_css .='.main-navigation .menu > li > a{'; $automobile_detailing_shop_theme_css .='text-transform:Uppercase;'; $automobile_detailing_shop_theme_css .='}'; } /*-------------------- Global First Color -------------------*/ $automobile_detailing_shop_global_color = get_theme_mod('automobile_detailing_shop_global_color'); if($automobile_detailing_shop_global_color != false){ $automobile_detailing_shop_theme_css .='.comment-respond input#submit,.wp-block-button__link,.main-navigation .sub-menu,.sidebar input[type="submit"], .sidebar button[type="submit"],a.btn-text,#top-slider .owl-carousel .owl-nav .owl-prev, #top-slider .owl-carousel .owl-nav .owl-next,.featured .owl-carousel .owl-nav .owl-prev:hover, .featured .owl-carousel .owl-nav .owl-next:hover,#button, span.onsale, .pro-button a, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt.disabled, .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, .woocommerce input.button.alt,.woocommerce a.added_to_cart, .woocommerce ul.products li.product .onsale, .woocommerce span.onsale, .woocommerce .woocommerce-ordering select, .woocommerce-account .woocommerce-MyAccount-navigation ul li, .post-navigation .nav-previous a:hover, .post-navigation .nav-next a:hover, .posts-navigation .nav-previous a:hover, .posts-navigation .nav-next a:hover, .navigation.pagination .nav-links a.current, .navigation.pagination .nav-links a:hover, .navigation.pagination .nav-links span.current, .navigation.pagination .nav-links span:hover, .sidebar h5, .sidebar .tagcloud a:hover, p.wp-block-tag-cloud a:hover{'; $automobile_detailing_shop_theme_css .='background-color: '.esc_attr($automobile_detailing_shop_global_color).';'; $automobile_detailing_shop_theme_css .='}'; } if($automobile_detailing_shop_global_color != false){ $automobile_detailing_shop_theme_css .='a,.main-navigation .menu > li > a:hover,.post-navigation .nav-previous a, .post-navigation .nav-next a, .posts-navigation .nav-previous a, .posts-navigation .nav-next a,.article-box h3.entry-title a,.navbar-brand p,.top-info .social-link a i:hover, .top-info p.location i,.service-icon i, section.featured span.last_slide_head, p.price, .woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce-message::before, .woocommerce-info::before, .widget a:hover, .widget a:focus, .sidebar ul li a:hover{'; $automobile_detailing_shop_theme_css .='color: '.esc_attr($automobile_detailing_shop_global_color).';'; $automobile_detailing_shop_theme_css .='}'; } if($automobile_detailing_shop_global_color != false){ $automobile_detailing_shop_theme_css .='.wp-block-button.is-style-outline .wp-block-button__link,.postcat-name{'; $automobile_detailing_shop_theme_css .='color: '.esc_attr($automobile_detailing_shop_global_color).' !important;'; $automobile_detailing_shop_theme_css .='}'; } if($automobile_detailing_shop_global_color != false){ $automobile_detailing_shop_theme_css .='.wp-block-button.is-style-outline .wp-block-button__link,.button-header a, #top-slider .slide-btn a, .post-navigation .nav-previous a:hover, .post-navigation .nav-next a:hover, .posts-navigation .nav-previous a:hover, .posts-navigation .nav-next a:hover, .navigation.pagination .nav-links a.current, .navigation.pagination .nav-links a:hover, .navigation.pagination .nav-links span.current, .navigation.pagination .nav-links span:hover{'; $automobile_detailing_shop_theme_css .='border-color: '.esc_attr($automobile_detailing_shop_global_color).';'; $automobile_detailing_shop_theme_css .='}'; } if($automobile_detailing_shop_global_color != false){ $automobile_detailing_shop_theme_css .='.woocommerce-message, .woocommerce-info{'; $automobile_detailing_shop_theme_css .='border-top-color: '.esc_attr($automobile_detailing_shop_global_color).';'; $automobile_detailing_shop_theme_css .='}'; } $automobile_detailing_shop_theme_css .='@media screen and (max-width:1000px) {'; if($automobile_detailing_shop_global_color != false){ $automobile_detailing_shop_theme_css .='.toggle-nav i, .sidenav .closebtn{ background: '.esc_attr($automobile_detailing_shop_global_color).'; }'; } $automobile_detailing_shop_theme_css .='}'; /*-------------------- Heading typography -------------------*/ $automobile_detailing_shop_heading_color = get_theme_mod('automobile_detailing_shop_heading_color'); $automobile_detailing_shop_heading_font_family = get_theme_mod('automobile_detailing_shop_heading_font_family'); $automobile_detailing_shop_heading_font_size = get_theme_mod('automobile_detailing_shop_heading_font_size'); if($automobile_detailing_shop_heading_color != false || $automobile_detailing_shop_heading_font_family != false || $automobile_detailing_shop_heading_font_size != false){ $automobile_detailing_shop_theme_css .='h1, h2, h3, h4, h5, h6, .navbar-brand h1.site-title, h2.entry-title, h1.entry-title, h2.page-title, #latest_post h2, h2.woocommerce-loop-product__title, #top-slider .slider-inner-box h3, .featured h3.main-heading, .article-box h3.entry-title, .featured h4.main-heading, #colophon h5, .sidebar h5{'; $automobile_detailing_shop_theme_css .='color: '.esc_attr($automobile_detailing_shop_heading_color).'!important; font-family: '.esc_attr($automobile_detailing_shop_heading_font_family).'!important; font-size: '.esc_attr($automobile_detailing_shop_heading_font_size).'px !important;'; $automobile_detailing_shop_theme_css .='}'; } $automobile_detailing_shop_paragraph_color = get_theme_mod('automobile_detailing_shop_paragraph_color'); $automobile_detailing_shop_paragraph_font_family = get_theme_mod('automobile_detailing_shop_paragraph_font_family'); $automobile_detailing_shop_paragraph_font_size = get_theme_mod('automobile_detailing_shop_paragraph_font_size'); if($automobile_detailing_shop_paragraph_color != false || $automobile_detailing_shop_paragraph_font_family != false || $automobile_detailing_shop_paragraph_font_size != false){ $automobile_detailing_shop_theme_css .='p, p.site-title, span, .article-box p, ul, li{'; $automobile_detailing_shop_theme_css .='color: '.esc_attr($automobile_detailing_shop_paragraph_color).'!important; font-family: '.esc_attr($automobile_detailing_shop_paragraph_font_family).'!important; font-size: '.esc_attr($automobile_detailing_shop_paragraph_font_size).'px !important;'; $automobile_detailing_shop_theme_css .='}'; } /*---------------- Logo CSS ----------------------*/ $automobile_detailing_shop_logo_title_font_size = get_theme_mod( 'automobile_detailing_shop_logo_title_font_size'); $automobile_detailing_shop_logo_tagline_font_size = get_theme_mod( 'automobile_detailing_shop_logo_tagline_font_size'); if( $automobile_detailing_shop_logo_title_font_size != '') { $automobile_detailing_shop_theme_css .='#masthead .navbar-brand a{'; $automobile_detailing_shop_theme_css .='font-size: '. $automobile_detailing_shop_logo_title_font_size. 'px;'; $automobile_detailing_shop_theme_css .='}'; } if( $automobile_detailing_shop_logo_tagline_font_size != '') { $automobile_detailing_shop_theme_css .='#masthead .navbar-brand p{'; $automobile_detailing_shop_theme_css .='font-size: '. $automobile_detailing_shop_logo_tagline_font_size. 'px;'; $automobile_detailing_shop_theme_css .='}'; }