a , .metabox a:hover, #sidebar ul li a:hover, #comments a, #category .text-content h3{'; $custom_css .='color: '.esc_html($advance_automobile_theme_color_first).';'; $custom_css .='}'; } if($advance_automobile_theme_color_first != false){ $custom_css .='.read-moresec a, #footer input[type="search"], .woocommerce .quantity .qty{'; $custom_css .='border-color: '.esc_html($advance_automobile_theme_color_first).';'; $custom_css .='}'; } if($advance_automobile_theme_color_first != false){ $custom_css .='.woocommerce-info, .primary-navigation ul ul{'; $custom_css .='border-top-color: '.esc_html($advance_automobile_theme_color_first).';'; $custom_css .='}'; } if($advance_automobile_theme_color_first != false){ $custom_css .='#sidebar ul li a:hover, #sidebar ul li a:focus{'; $custom_css .='color: '.esc_html($advance_automobile_theme_color_first).';'; $custom_css .='}'; } /*---------------------------Theme color option-------------------*/ $advance_automobile_theme_color_second = get_theme_mod('advance_automobile_theme_color_second'); if($advance_automobile_theme_color_second != false){ $custom_css .='.read-moresec a:hover, #slider .inner_carousel .read-btn a:hover, .time, #category .explore-btn a:hover, #footer, .woocommerce span.onsale, .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,#sidebar input[type="submit"], .read-more-btn a, .primary-navigation li a:hover, .primary-navigation li:hover a, #menu-sidebar input[type="submit"]{'; $custom_css .='background-color: '.esc_html($advance_automobile_theme_color_second).';'; $custom_css .='}'; } if($advance_automobile_theme_color_second != false){ $custom_css .='#comments input[type="submit"].submit, nav.woocommerce-MyAccount-navigation ul li, #sidebar .tagcloud a:hover, .pagination a:hover, .pagination .current, .toggle a, .book-btn a{'; $custom_css .='background-color: '.esc_html($advance_automobile_theme_color_second).'!important;'; $custom_css .='}'; } if($advance_automobile_theme_color_second != false){ $custom_css .='.logo a,.search-box i, #slider .inner_carousel h2 , #slider .inner_carousel, .page-box .metabox,.page-box-single .metabox,.metabox a, .woocommerce-message::before, h1.entry-title,h1.page-title, .page-box h4, .new-text h4 a,#slider .inner_carousel h1, #category h2, .primary-navigation a{'; $custom_css .='color: '.esc_html($advance_automobile_theme_color_second).';'; $custom_css .='}'; } if($advance_automobile_theme_color_second != false){ $custom_css .='#header .main-menu{'; $custom_css .='border-bottom-color: '.esc_html($advance_automobile_theme_color_second).';'; $custom_css .='}'; } if($advance_automobile_theme_color_second != false){ $custom_css .='.woocommerce-message{'; $custom_css .='border-top-color: '.esc_html($advance_automobile_theme_color_second).';'; $custom_css .='}'; } if($advance_automobile_theme_color_second != false){ $custom_css .='.page-box, #sidebar aside, #sidebar input[type="search"]{'; $custom_css .='border-color: '.esc_html($advance_automobile_theme_color_second).';'; $custom_css .='}'; } if($advance_automobile_theme_color_second != false){ $custom_css .='.logo p, .page-box-single h3, #sidebar ul li a:active, span.post-title, p.logged-in-as a{'; $custom_css .='color: '.esc_html($advance_automobile_theme_color_second).'!important;'; $custom_css .='}'; } // media $custom_css .='@media screen and (max-width:1000px) {'; if($advance_automobile_theme_color_first != false || $advance_automobile_theme_color_second != false){ $custom_css .='#menu-sidebar, .primary-navigation ul ul a, .primary-navigation li a:hover, .primary-navigation li:hover a, #contact-info{ background-image: linear-gradient(-90deg, '.esc_html($advance_automobile_theme_color_first).' 0%, '.esc_html($advance_automobile_theme_color_second).' 120%); } }'; } $custom_css .='}';