ul > li > a.active, #mainnav > ul > li > a:hover, button:hover, input[type=\"button\"]:hover, input[type=\"reset\"]:hover, input[type=\"submit\"]:hover, .text-color, .social-menu-widget a, .social-menu-widget a:hover, .archive .team-social li a, a:hover, .prev:hover, .next:hover, .close-port:hover i, .read-more:hover, .read-more i, .view-all-blog:hover, .view-all-blog:hover span i, .btn.get-in-touch:hover, .at-post-data-left.single-blog a.home-icon:hover i, .form-submit input[type=\"submit\"]:hover, .social-footer li a:hover i, .contact-form-wrapper input[type=\"submit\"]:hover, #test_content .item .name-client, h1.title-blog a:hover, .btn.btn-oe:hover, a:focus, ul.portfolio-category li a:hover span.icon-categories i, ul.portfolio-category li a:hover, ul.portfolio-category li a.active span.icon-categories i, ul.portfolio-category li a.active { color:" . esc_attr($primary_color) . "!important}"."\n"; $custom .= ".preloader .pre-bounce1, .preloader .pre-bounce2,.roll-team .team-item .team-pop,.roll-progress .progress-animate,.roll-socials li a:hover,.roll-project .project-item .project-pop,.roll-project .project-filter li.active,.roll-project .project-filter li:hover,.roll-button.light:hover,.roll-button.border:hover,.roll-button,.roll-icon-box.white .icon,.owl-theme .owl-controls .owl-page.active span,.owl-theme .owl-controls.clickable .owl-page:hover span,.go-top,.bottom .socials li:hover a,.sidebar .widget:before,.blog-pagination ul li.active,.blog-pagination ul li:hover a,.content-area .hentry:after,.text-slider .maintitle:after,.error-wrap #search-submit:hover,#mainnav .sub-menu li:hover > a,#mainnav ul li ul:after, button, input[type=\"button\"], input[type=\"reset\"], .panel-grid-cell .widget-title:after, .social-share.single-blog-share ul.social li a:hover, .button-video { background-color:" . esc_attr($primary_color) . "!important}"."\n"; $custom .= ".roll-socials li a:hover,.roll-socials li a,.roll-button.light:hover,.roll-button.border,.roll-button,.roll-icon-list .icon,.roll-icon-box .icon,.owl-theme .owl-controls .owl-page span,.comment .comment-detail,.widget-tags .tag-list a:hover,.blog-pagination ul li,.hentry blockquote,.error-wrap #search-submit:hover,textarea:focus,input[type=\"text\"]:focus,input[type=\"password\"]:focus,input[type=\"datetime\"]:focus,input[type=\"datetime-local\"]:focus,input[type=\"date\"]:focus,input[type=\"month\"]:focus,input[type=\"time\"]:focus,input[type=\"week\"]:focus,input[type=\"number\"]:focus,input[type=\"email\"]:focus,input[type=\"url\"]:focus,input[type=\"search\"]:focus,input[type=\"tel\"]:focus,input[type=\"color\"]:focus, button, input[type=\"button\"], input[type=\"reset\"], .archive .team-social li a, .close-port:hover, .view-all-blog:hover span, .btn.get-in-touch:hover, .image-blog-wrapper, .at-post-data-left.single-blog a.home-icon:hover, .form-submit input[type=\"submit\"]:hover, .contact-form-wrapper input[type=\"submit\"]:hover, .btn.btn-oe:hover, .popup-video:hover .icon-play-video, .blog-filer ul li.active a, .blog-filer ul li:hover a, .roll-button, .button-video, input[type=\"submit\"]:hover, input[type=\"submit\"], ul.portfolio-category li a:hover span.icon-categories, ul.portfolio-category li a.active span.icon-categories { border-color:" . esc_attr($primary_color) . "!important}"."\n"; $custom .= "#loader, #loader:after, #loader:before {border-top-color:" . esc_attr($primary_color) . "!important}"."\n"; $custom .= ".owl-theme .owl-controls.clickable .owl-buttons div:hover, .pricing-sign-up:hover, .blog-filer ul li.active a, .blog-filer ul li:hover a, input[type=\"submit\"], .social-share ul.social li a:hover {background:" . esc_attr($primary_color) . "!important}"."\n"; $hover_rgba = aakanksha_hex2rgba($primary_color, 0.4); $custom .= "#portfolio_list div.item a div.hover {background:" . esc_attr($hover_rgba) . "!important}"."\n"; } //Menu background $menu_bg_color = get_theme_mod( 'menu_bg_color', '#000000' ); $rgba = aakanksha_hex2rgba($menu_bg_color, 0.9); $custom .= ".site-header.float-header { background-color:" . esc_attr($rgba) . "!important;}" . "\n"; $custom .= "@media only screen and (max-width: 1024px) { .site-header { background-color:" . esc_attr($menu_bg_color) . "!important;}}" . "\n"; //Site title $site_title = get_theme_mod( 'site_title_color', '#ffffff' ); $custom .= ".site-title a, .site-title a:hover { color:" . esc_attr($site_title) . "}"."\n"; //Site desc $site_desc = get_theme_mod( 'site_desc_color', '#ffffff' ); $custom .= ".site-description { color:" . esc_attr($site_desc) . "}"."\n"; //Top level menu items color $top_items_color = get_theme_mod( 'top_items_color', '#f71e1e' ); $custom .= "#mainnav ul li a, .nav-search a, #mainnav ul li::before, #mainnav ul li a:hover, #mainnav ul li a.active, .btn-menu { color:" . esc_attr($top_items_color) . "!important; border-bottom-color:". esc_attr($top_items_color) ."!important;}"."\n"; //Sub menu items color $submenu_items_color = get_theme_mod( 'submenu_items_color', '#ffffff' ); $custom .= "#mainnav .sub-menu li a { color:" . esc_attr($submenu_items_color) . "!important}"."\n"; //Sub menu background $submenu_background = get_theme_mod( 'submenu_background', '#1c1c1c' ); $custom .= "#mainnav .sub-menu li a { background:" . esc_attr($submenu_background) . "!important}"."\n"; //Header slider text $slider_text = get_theme_mod( 'slider_text', '#ffffff' ); $custom .= ".text-slider .maintitle, .text-slider .subtitle { color:" . esc_attr($slider_text) . "!important;}"."\n"; //Body $body_text = get_theme_mod( 'body_text_color', '#767676' ); $custom .= "body { color:" . esc_attr($body_text) . "}"."\n"; //Sidebar background $sidebar_background = get_theme_mod( 'sidebar_background', '#ffffff' ); $custom .= "#secondary { background-color:" . esc_attr($sidebar_background) . "}"."\n"; //Sidebar color $sidebar_color = get_theme_mod( 'sidebar_color', '#767676' ); $custom .= "#secondary, #secondary a, #secondary .widget-title { color:" . esc_attr($sidebar_color) . "}"."\n"; //Footer widget area background /*$footer_widgets_background = get_theme_mod( 'footer_widgets_background', '#252525' ); $custom .= ".footer-widgets { background-color:" . esc_attr($footer_widgets_background) . "}"."\n"; */ //Footer widget area color /*$footer_widgets_color = get_theme_mod( 'footer_widgets_color', '#767676' ); if ( $footer_widgets_color != '#767676' ) { $custom .= "#sidebar-footer,#sidebar-footer a,.footer-widgets .widget-title { color:" . esc_attr($footer_widgets_color) . "}"."\n"; }*/ //Footer background /*$footer_background = get_theme_mod( 'footer_background', '#1c1c1c' ); $custom .= ".site-footer { background-color:" . esc_attr($footer_background) . "}"."\n";*/ //Footer color /*$footer_color = get_theme_mod( 'footer_color', '#666666' ); $custom .= ".site-footer,.site-footer a { color:" . esc_attr($footer_color) . "}"."\n";*/ //Rows overlay $rows_overlay = get_theme_mod( 'rows_overlay', '#000000' ); $custom .= ".overlay { background-color:" . esc_attr($rows_overlay) . "}"."\n"; //Page wrapper padding $pw_top_padding = get_theme_mod( 'wrapper_top_padding', '83' ); $pw_bottom_padding = get_theme_mod( 'wrapper_bottom_padding', '100' ); $custom .= ".page-wrap { padding-top:" . intval($pw_top_padding) . "px;}"."\n"; $custom .= ".page-wrap { padding-bottom:" . intval($pw_bottom_padding) . "px;}"."\n"; //Output all the styles wp_add_inline_style( 'aakanksha-style', $custom ); } add_action( 'wp_enqueue_scripts', 'aakanksha_custom_styles' );