a , .metabox a:hover, #sidebar ul li a:hover, #comments a, #category .text-content h3{'; $advance_automobile_custom_css .='color: '.esc_attr($advance_automobile_theme_color_first).';'; $advance_automobile_custom_css .='}'; $advance_automobile_custom_css .='.read-moresec a, #footer input[type="search"], .woocommerce .quantity .qty{'; $advance_automobile_custom_css .='border-color: '.esc_attr($advance_automobile_theme_color_first).';'; $advance_automobile_custom_css .='}'; $advance_automobile_custom_css .='.woocommerce-info, .primary-navigation ul ul{'; $advance_automobile_custom_css .='border-top-color: '.esc_attr($advance_automobile_theme_color_first).';'; $advance_automobile_custom_css .='}'; $advance_automobile_custom_css .='#sidebar ul li a:hover, #sidebar ul li a:focus{'; $advance_automobile_custom_css .='color: '.esc_attr($advance_automobile_theme_color_first).';'; $advance_automobile_custom_css .='}'; /*---------------------------Theme color option-------------------*/ $advance_automobile_theme_color_second = get_theme_mod('advance_automobile_theme_color_second'); $advance_automobile_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"], #sidebar form.woocommerce-product-search button, .primary-navigation a:focus, .toggle-menu i{'; $advance_automobile_custom_css .='background-color: '.esc_attr($advance_automobile_theme_color_second).';'; $advance_automobile_custom_css .='}'; $advance_automobile_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{'; $advance_automobile_custom_css .='background-color: '.esc_attr($advance_automobile_theme_color_second).'!important;'; $advance_automobile_custom_css .='}'; $advance_automobile_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{'; $advance_automobile_custom_css .='color: '.esc_attr($advance_automobile_theme_color_second).';'; $advance_automobile_custom_css .='}'; $advance_automobile_custom_css .='#header .main-menu{'; $advance_automobile_custom_css .='border-bottom-color: '.esc_attr($advance_automobile_theme_color_second).';'; $advance_automobile_custom_css .='}'; $advance_automobile_custom_css .='.woocommerce-message{'; $advance_automobile_custom_css .='border-top-color: '.esc_attr($advance_automobile_theme_color_second).';'; $advance_automobile_custom_css .='}'; $advance_automobile_custom_css .='.page-box, #sidebar aside, #sidebar input[type="search"],#sidebar form.woocommerce-product-search button{'; $advance_automobile_custom_css .='border-color: '.esc_attr($advance_automobile_theme_color_second).';'; $advance_automobile_custom_css .='}'; $advance_automobile_custom_css .='.logo p, .page-box-single h3, #sidebar ul li a:active, span.post-title, p.logged-in-as a{'; $advance_automobile_custom_css .='color: '.esc_attr($advance_automobile_theme_color_second).'!important;'; $advance_automobile_custom_css .='}'; // media $advance_automobile_custom_css .='@media screen and (max-width:1000px) {'; if($advance_automobile_theme_color_first != false || $advance_automobile_theme_color_second != false){ $advance_automobile_custom_css .='#menu-sidebar, .primary-navigation ul ul a, .primary-navigation li a:hover, .primary-navigation li:hover a, #contact-info, .primary-navigation a:focus{ background-image: linear-gradient(-90deg, '.esc_attr($advance_automobile_theme_color_first).' 0%, '.esc_attr($advance_automobile_theme_color_second).' 120%); } '; } $advance_automobile_custom_css .='}'; /*---------------------------Width Layout -------------------*/ $advance_automobile_theme_lay = get_theme_mod( 'advance_automobile_theme_options','Default'); if($advance_automobile_theme_lay == 'Default'){ $advance_automobile_custom_css .='body{'; $advance_automobile_custom_css .='max-width: 100%;'; $advance_automobile_custom_css .='}'; $advance_automobile_custom_css .='.page-template-custom-home-page .middle-header{'; $advance_automobile_custom_css .='width: 97.3%'; $advance_automobile_custom_css .='}'; }else if($advance_automobile_theme_lay == 'Container'){ $advance_automobile_custom_css .='body{'; $advance_automobile_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;'; $advance_automobile_custom_css .='}'; $advance_automobile_custom_css .='.page-template-custom-home-page .middle-header{'; $advance_automobile_custom_css .='width: 97.7%'; $advance_automobile_custom_css .='}'; $advance_automobile_custom_css .='.serach_outer{'; $advance_automobile_custom_css .='width: 97.7%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto'; $advance_automobile_custom_css .='}'; }else if($advance_automobile_theme_lay == 'Box Container'){ $advance_automobile_custom_css .='body{'; $advance_automobile_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;'; $advance_automobile_custom_css .='}'; $advance_automobile_custom_css .='.serach_outer{'; $advance_automobile_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; right:0'; $advance_automobile_custom_css .='}'; $advance_automobile_custom_css .='.page-template-custom-front-page .main-header{'; $advance_automobile_custom_css .='margin:0 10px;'; $advance_automobile_custom_css .='}'; $advance_automobile_custom_css .='.page-template-custom-front-page #header{'; $advance_automobile_custom_css .='right:0;'; $advance_automobile_custom_css .='}'; } // css $advance_automobile_show_header = get_theme_mod( 'advance_automobile_slider_hide', false); if($advance_automobile_show_header == false){ $advance_automobile_custom_css .='#contact-details{'; $advance_automobile_custom_css .='margin: 25px 0;'; $advance_automobile_custom_css .='}'; $advance_automobile_custom_css .='.page-template-custom-front-page #header .main-menu{'; $advance_automobile_custom_css .='border-bottom: 1px solid #000;'; $advance_automobile_custom_css .='}'; } /*---------------------------Slider Content Layout -------------------*/ $advance_automobile_theme_lay = get_theme_mod( 'advance_automobile_slider_content_alignment','Left'); if($advance_automobile_theme_lay == 'Left'){ $advance_automobile_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{'; $advance_automobile_custom_css .='text-align:left; left:8%; right:45%;'; $advance_automobile_custom_css .='}'; }else if($advance_automobile_theme_lay == 'Center'){ $advance_automobile_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{'; $advance_automobile_custom_css .='text-align:center !important; left:20%; right:20%;'; $advance_automobile_custom_css .='}'; }else if($advance_automobile_theme_lay == 'Right'){ $advance_automobile_custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{'; $advance_automobile_custom_css .='text-align:right !important; left:45%; right:8%;'; $advance_automobile_custom_css .='}'; } /*--------------------------- Slider Opacity -------------------*/ $advance_automobile_theme_lay = get_theme_mod( 'advance_automobile_slider_image_opacity','0.7'); if($advance_automobile_theme_lay == '0'){ $advance_automobile_custom_css .='#slider img{'; $advance_automobile_custom_css .='opacity:0'; $advance_automobile_custom_css .='}'; }else if($advance_automobile_theme_lay == '0.1'){ $advance_automobile_custom_css .='#slider img{'; $advance_automobile_custom_css .='opacity:0.1'; $advance_automobile_custom_css .='}'; }else if($advance_automobile_theme_lay == '0.2'){ $advance_automobile_custom_css .='#slider img{'; $advance_automobile_custom_css .='opacity:0.2'; $advance_automobile_custom_css .='}'; }else if($advance_automobile_theme_lay == '0.3'){ $advance_automobile_custom_css .='#slider img{'; $advance_automobile_custom_css .='opacity:0.3'; $advance_automobile_custom_css .='}'; }else if($advance_automobile_theme_lay == '0.4'){ $advance_automobile_custom_css .='#slider img{'; $advance_automobile_custom_css .='opacity:0.4'; $advance_automobile_custom_css .='}'; }else if($advance_automobile_theme_lay == '0.5'){ $advance_automobile_custom_css .='#slider img{'; $advance_automobile_custom_css .='opacity:0.5'; $advance_automobile_custom_css .='}'; }else if($advance_automobile_theme_lay == '0.6'){ $advance_automobile_custom_css .='#slider img{'; $advance_automobile_custom_css .='opacity:0.6'; $advance_automobile_custom_css .='}'; }else if($advance_automobile_theme_lay == '0.7'){ $advance_automobile_custom_css .='#slider img{'; $advance_automobile_custom_css .='opacity:0.7'; $advance_automobile_custom_css .='}'; }else if($advance_automobile_theme_lay == '0.8'){ $advance_automobile_custom_css .='#slider img{'; $advance_automobile_custom_css .='opacity:0.8'; $advance_automobile_custom_css .='}'; }else if($advance_automobile_theme_lay == '0.9'){ $advance_automobile_custom_css .='#slider img{'; $advance_automobile_custom_css .='opacity:0.9'; $advance_automobile_custom_css .='}'; } /*------------- Button Settings option-------------------*/ $advance_automobile_button_padding_top_bottom = get_theme_mod('advance_automobile_button_padding_top_bottom'); $advance_automobile_button_padding_left_right = get_theme_mod('advance_automobile_button_padding_left_right'); $advance_automobile_custom_css .='.new-text .read-more-btn a, #slider .inner_carousel .read-btn a, #comments .form-submit input[type="submit"],#category .explore-btn a{'; $advance_automobile_custom_css .='padding-top: '.esc_attr($advance_automobile_button_padding_top_bottom).'px !important; padding-bottom: '.esc_attr($advance_automobile_button_padding_top_bottom).'px !important; padding-left: '.esc_attr($advance_automobile_button_padding_left_right).'px !important; padding-right: '.esc_attr($advance_automobile_button_padding_left_right).'px !important; display:inline-block;'; $advance_automobile_custom_css .='}'; $advance_automobile_button_border_radius = get_theme_mod('advance_automobile_button_border_radius'); $advance_automobile_custom_css .='.new-text .read-more-btn a, #slider .inner_carousel .read-btn a, #comments .form-submit input[type="submit"], #category .explore-btn a{'; $advance_automobile_custom_css .='border-radius: '.esc_attr($advance_automobile_button_border_radius).'px;'; $advance_automobile_custom_css .='}'; /*-----------------Responsive Setting -----------------*/ $advance_automobile_stickyheader = get_theme_mod( 'advance_automobile_responsive_sticky_header', false); if($advance_automobile_stickyheader == true && get_theme_mod( 'advance_automobile_sticky_header', false) == false){ $advance_automobile_custom_css .='.fixed-header{'; $advance_automobile_custom_css .='position:static;'; $advance_automobile_custom_css .='} '; } if($advance_automobile_stickyheader == true){ $advance_automobile_custom_css .='@media screen and (max-width:575px) {'; $advance_automobile_custom_css .='.fixed-header{'; $advance_automobile_custom_css .='position:fixed;'; $advance_automobile_custom_css .='} }'; }else if($advance_automobile_stickyheader == false){ $advance_automobile_custom_css .='@media screen and (max-width:575px) {'; $advance_automobile_custom_css .='.fixed-header{'; $advance_automobile_custom_css .='position:static;'; $advance_automobile_custom_css .='} }'; } $advance_automobile_slider = get_theme_mod( 'advance_automobile_responsive_slider',false); if($advance_automobile_slider == true && get_theme_mod( 'advance_automobile_slider_hide', false) == false){ $advance_automobile_custom_css .='#slider{'; $advance_automobile_custom_css .='display:none;'; $advance_automobile_custom_css .='} '; } if($advance_automobile_slider == true){ $advance_automobile_custom_css .='@media screen and (max-width:575px) {'; $advance_automobile_custom_css .='#slider{'; $advance_automobile_custom_css .='display:block;'; $advance_automobile_custom_css .='} }'; }else if($advance_automobile_slider == false){ $advance_automobile_custom_css .='@media screen and (max-width:575px) {'; $advance_automobile_custom_css .='#slider{'; $advance_automobile_custom_css .='display:none;'; $advance_automobile_custom_css .='} }'; } $advance_automobile_slider = get_theme_mod( 'advance_automobile_responsive_scroll',true); if($advance_automobile_slider == true && get_theme_mod( 'advance_automobile_enable_disable_scroll', true) == false){ $advance_automobile_custom_css .='#scroll-top{'; $advance_automobile_custom_css .='display:none !important;'; $advance_automobile_custom_css .='} '; } if($advance_automobile_slider == true){ $advance_automobile_custom_css .='@media screen and (max-width:575px) {'; $advance_automobile_custom_css .='#scroll-top{'; $advance_automobile_custom_css .='display:block !important;'; $advance_automobile_custom_css .='} }'; }else if($advance_automobile_slider == false){ $advance_automobile_custom_css .='@media screen and (max-width:575px) {'; $advance_automobile_custom_css .='#scroll-top{'; $advance_automobile_custom_css .='display:none !important;'; $advance_automobile_custom_css .='} }'; } $advance_automobile_sidebar = get_theme_mod( 'advance_automobile_responsive_sidebar',true); if($advance_automobile_sidebar == true){ $advance_automobile_custom_css .='@media screen and (max-width:575px) {'; $advance_automobile_custom_css .='#sidebar{'; $advance_automobile_custom_css .='display:block;'; $advance_automobile_custom_css .='} }'; }else if($advance_automobile_sidebar == false){ $advance_automobile_custom_css .='@media screen and (max-width:575px) {'; $advance_automobile_custom_css .='#sidebar{'; $advance_automobile_custom_css .='display:none;'; $advance_automobile_custom_css .='} }'; } $advance_automobile_loader = get_theme_mod( 'advance_automobile_responsive_preloader', true); if($advance_automobile_loader == true && get_theme_mod( 'advance_automobile_preloader_option', true) == false){ $advance_automobile_custom_css .='#loader-wrapper{'; $advance_automobile_custom_css .='display:none;'; $advance_automobile_custom_css .='} '; } if($advance_automobile_loader == true){ $advance_automobile_custom_css .='@media screen and (max-width:575px) {'; $advance_automobile_custom_css .='#loader-wrapper{'; $advance_automobile_custom_css .='display:block;'; $advance_automobile_custom_css .='} }'; }else if($advance_automobile_loader == false){ $advance_automobile_custom_css .='@media screen and (max-width:575px) {'; $advance_automobile_custom_css .='#loader-wrapper{'; $advance_automobile_custom_css .='display:none;'; $advance_automobile_custom_css .='} }'; } /*------------------ Skin Option -------------------*/ $advance_automobile_theme_lay = get_theme_mod( 'advance_automobile_background_skin_mode','Transparent Background'); if($advance_automobile_theme_lay == 'With Background'){ $advance_automobile_custom_css .='.page-box, #sidebar .widget,.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,.front-page-content,.background-img-skin{'; $advance_automobile_custom_css .='background-color: #fff;'; $advance_automobile_custom_css .='}'; }else if($advance_automobile_theme_lay == 'Transparent Background'){ $advance_automobile_custom_css .='.page-box-single{'; $advance_automobile_custom_css .='background-color: transparent;'; $advance_automobile_custom_css .='}'; } /*------------ Woocommerce Settings --------------*/ $advance_automobile_top_bottom_product_button_padding = get_theme_mod('advance_automobile_top_bottom_product_button_padding', 10); $advance_automobile_custom_css .='.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 button.button:disabled, .woocommerce button.button:disabled[disabled]{'; $advance_automobile_custom_css .='padding-top: '.esc_attr($advance_automobile_top_bottom_product_button_padding).'px; padding-bottom: '.esc_attr($advance_automobile_top_bottom_product_button_padding).'px;'; $advance_automobile_custom_css .='}'; $advance_automobile_left_right_product_button_padding = get_theme_mod('advance_automobile_left_right_product_button_padding', 16); $advance_automobile_custom_css .='.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 button.button:disabled, .woocommerce button.button:disabled[disabled]{'; $advance_automobile_custom_css .='padding-left: '.esc_attr($advance_automobile_left_right_product_button_padding).'px; padding-right: '.esc_attr($advance_automobile_left_right_product_button_padding).'px;'; $advance_automobile_custom_css .='}'; $advance_automobile_product_button_border_radius = get_theme_mod('advance_automobile_product_button_border_radius', 0); $advance_automobile_custom_css .='.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 button.button:disabled, .woocommerce button.button:disabled[disabled]{'; $advance_automobile_custom_css .='border-radius: '.esc_attr($advance_automobile_product_button_border_radius).'px;'; $advance_automobile_custom_css .='}'; $advance_automobile_show_related_products = get_theme_mod('advance_automobile_show_related_products',true); if($advance_automobile_show_related_products == false){ $advance_automobile_custom_css .='.related.products{'; $advance_automobile_custom_css .='display: none;'; $advance_automobile_custom_css .='}'; } $advance_automobile_show_wooproducts_border = get_theme_mod('advance_automobile_show_wooproducts_border', false); if($advance_automobile_show_wooproducts_border == true){ $advance_automobile_custom_css .='.products li{'; $advance_automobile_custom_css .='border: 1px solid #767676;'; $advance_automobile_custom_css .='}'; } $advance_automobile_top_bottom_wooproducts_padding = get_theme_mod('advance_automobile_top_bottom_wooproducts_padding',0); $advance_automobile_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{'; $advance_automobile_custom_css .='padding-top: '.esc_attr($advance_automobile_top_bottom_wooproducts_padding).'px !important; padding-bottom: '.esc_attr($advance_automobile_top_bottom_wooproducts_padding).'px !important;'; $advance_automobile_custom_css .='}'; $advance_automobile_left_right_wooproducts_padding = get_theme_mod('advance_automobile_left_right_wooproducts_padding',0); $advance_automobile_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{'; $advance_automobile_custom_css .='padding-left: '.esc_attr($advance_automobile_left_right_wooproducts_padding).'px !important; padding-right: '.esc_attr($advance_automobile_left_right_wooproducts_padding).'px !important;'; $advance_automobile_custom_css .='}'; $advance_automobile_wooproducts_border_radius = get_theme_mod('advance_automobile_wooproducts_border_radius',0); $advance_automobile_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{'; $advance_automobile_custom_css .='border-radius: '.esc_attr($advance_automobile_wooproducts_border_radius).'px;'; $advance_automobile_custom_css .='}'; $advance_automobile_wooproducts_box_shadow = get_theme_mod('advance_automobile_wooproducts_box_shadow',0); $advance_automobile_custom_css .='.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{'; $advance_automobile_custom_css .='box-shadow: '.esc_attr($advance_automobile_wooproducts_box_shadow).'px '.esc_attr($advance_automobile_wooproducts_box_shadow).'px '.esc_attr($advance_automobile_wooproducts_box_shadow).'px #e4e4e4;'; $advance_automobile_custom_css .='}'; /*-------------- Footer Text -------------------*/ $advance_automobile_copyright_content_align = get_theme_mod('advance_automobile_copyright_content_align'); if($advance_automobile_copyright_content_align != false){ $advance_automobile_custom_css .='.copyright{'; $advance_automobile_custom_css .='text-align: '.esc_attr($advance_automobile_copyright_content_align).';'; $advance_automobile_custom_css .='}'; } $advance_automobile_footer_content_font_size = get_theme_mod('advance_automobile_footer_content_font_size', 16); $advance_automobile_custom_css .='.copyright p{'; $advance_automobile_custom_css .='font-size: '.esc_attr($advance_automobile_footer_content_font_size).'px;'; $advance_automobile_custom_css .='}'; $advance_automobile_copyright_padding = get_theme_mod('advance_automobile_copyright_padding', 15); $advance_automobile_custom_css .='.copyright{'; $advance_automobile_custom_css .='padding-top: '.esc_attr($advance_automobile_copyright_padding).'px; padding-bottom: '.esc_attr($advance_automobile_copyright_padding).'px;'; $advance_automobile_custom_css .='}'; $advance_automobile_footer_widget_bg_color = get_theme_mod('advance_automobile_footer_widget_bg_color'); $advance_automobile_custom_css .='#footer{'; $advance_automobile_custom_css .='background-color: '.esc_attr($advance_automobile_footer_widget_bg_color).';'; $advance_automobile_custom_css .='}'; $advance_automobile_footer_widget_bg_image = get_theme_mod('advance_automobile_footer_widget_bg_image'); if($advance_automobile_footer_widget_bg_image != false){ $advance_automobile_custom_css .='#footer{'; $advance_automobile_custom_css .='background: url('.esc_attr($advance_automobile_footer_widget_bg_image).');'; $advance_automobile_custom_css .='}'; } // scroll to top $advance_automobile_scroll_font_size_icon = get_theme_mod('advance_automobile_scroll_font_size_icon', 22); $advance_automobile_custom_css .='#scroll-top .fas{'; $advance_automobile_custom_css .='font-size: '.esc_attr($advance_automobile_scroll_font_size_icon).'px;'; $advance_automobile_custom_css .='}'; // Slider Height $advance_automobile_slider_image_height = get_theme_mod('advance_automobile_slider_image_height'); $advance_automobile_custom_css .='#slider img{'; $advance_automobile_custom_css .='height: '.esc_attr($advance_automobile_slider_image_height).'px;'; $advance_automobile_custom_css .='}'; // Display Blog Post $advance_automobile_display_blog_page_post = get_theme_mod( 'advance_automobile_display_blog_page_post','In Box'); if($advance_automobile_display_blog_page_post == 'Without Box'){ $advance_automobile_custom_css .='.page-box{'; $advance_automobile_custom_css .='border:none; margin:25px 0;'; $advance_automobile_custom_css .='}'; } // slider overlay $advance_automobile_slider_overlay = get_theme_mod('advance_automobile_slider_overlay', true); if($advance_automobile_slider_overlay == false){ $advance_automobile_custom_css .='#slider img{'; $advance_automobile_custom_css .='opacity:1;'; $advance_automobile_custom_css .='}'; } $advance_automobile_slider_image_overlay_color = get_theme_mod('advance_automobile_slider_image_overlay_color', true); if($advance_automobile_slider_overlay != false){ $advance_automobile_custom_css .='#slider{'; $advance_automobile_custom_css .='background-color: '.esc_attr($advance_automobile_slider_image_overlay_color).';'; $advance_automobile_custom_css .='}'; }