li > a:hover, .main-navigation ul.sub-menu > li > a:focus, .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, .comment-respond input#submit, #colophon, .sidebar h5, .sidebar .tagcloud a:hover, p.wp-block-tag-cloud a:hover{'; $beauty_cosmetic_store_theme_css .='background-color: '.esc_attr($beauty_cosmetic_store_global_color).';'; $beauty_cosmetic_store_theme_css .='}'; } if($beauty_cosmetic_store_global_color != false){ $beauty_cosmetic_store_theme_css .='.top-info .social-link a i:hover, .top-info p.location i, .top-header p, .phone-icon i, .ser-content .social-link a, .featured h6.team-designation, .article-box a, p.price, .woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce-message::before, .woocommerce-info::before, .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, .widget a:hover, .widget a:focus, .sidebar ul li a:hover, .last_slide_head{'; $beauty_cosmetic_store_theme_css .='color: '.esc_attr($beauty_cosmetic_store_global_color).';'; $beauty_cosmetic_store_theme_css .='}'; } if($beauty_cosmetic_store_global_color != false){ $beauty_cosmetic_store_theme_css .='.postcat-name{'; $beauty_cosmetic_store_theme_css .='color: '.esc_attr($beauty_cosmetic_store_global_color).' !important;'; $beauty_cosmetic_store_theme_css .='}'; } if($beauty_cosmetic_store_global_color != false){ $beauty_cosmetic_store_theme_css .='.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{'; $beauty_cosmetic_store_theme_css .='border-color: '.esc_attr($beauty_cosmetic_store_global_color).' !important;'; $beauty_cosmetic_store_theme_css .='}'; } if($beauty_cosmetic_store_global_color != false){ $beauty_cosmetic_store_theme_css .='.woocommerce-message, .woocommerce-info{'; $beauty_cosmetic_store_theme_css .='border-top-color: '.esc_attr($beauty_cosmetic_store_global_color).';'; $beauty_cosmetic_store_theme_css .='}'; } if($beauty_cosmetic_store_global_color != false){ $beauty_cosmetic_store_theme_css .='.center-header, .main-header {'; $beauty_cosmetic_store_theme_css .='border-bottom-color: '.esc_attr($beauty_cosmetic_store_global_color).';'; $beauty_cosmetic_store_theme_css .='}'; } /*-------------------- Heading typography -------------------*/ $beauty_cosmetic_store_heading_color = get_theme_mod('beauty_cosmetic_store_heading_color'); $beauty_cosmetic_store_heading_font_family = get_theme_mod('beauty_cosmetic_store_heading_font_family'); $beauty_cosmetic_store_heading_font_size = get_theme_mod('beauty_cosmetic_store_heading_font_size'); if($beauty_cosmetic_store_heading_color != false || $beauty_cosmetic_store_heading_font_family != false || $beauty_cosmetic_store_heading_font_size != false){ $beauty_cosmetic_store_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, #colophon h5, .sidebar h5, .article-box h3.entry-title, .slider-inner-box h2, #top-slider .slider-inner-box h2, #top-slider h3.main-heading, .featured h3.main-heading, .ser-content h4, .featured h4.main-heading, #top-slider h4.main-text, #top-slider .right-image-box h5.left-text-heading, #top-slider .left-text-box-2 h5, #top-slider .left-text-box-3 h5, #top-slider .left-text-box-4 h5, .featured h6.team-designation{'; $beauty_cosmetic_store_theme_css .='color: '.esc_attr($beauty_cosmetic_store_heading_color).'!important; font-family: '.esc_attr($beauty_cosmetic_store_heading_font_family).'!important; font-size: '.esc_attr($beauty_cosmetic_store_heading_font_size).'px !important;'; $beauty_cosmetic_store_theme_css .='}'; } $beauty_cosmetic_store_paragraph_color = get_theme_mod('beauty_cosmetic_store_paragraph_color'); $beauty_cosmetic_store_paragraph_font_family = get_theme_mod('beauty_cosmetic_store_paragraph_font_family'); $beauty_cosmetic_store_paragraph_font_size = get_theme_mod('beauty_cosmetic_store_paragraph_font_size'); if($beauty_cosmetic_store_paragraph_color != false || $beauty_cosmetic_store_paragraph_font_family != false || $beauty_cosmetic_store_paragraph_font_size != false){ $beauty_cosmetic_store_theme_css .='p, p.site-title, span, .article-box p, ul, li{'; $beauty_cosmetic_store_theme_css .='color: '.esc_attr($beauty_cosmetic_store_paragraph_color).'!important; font-family: '.esc_attr($beauty_cosmetic_store_paragraph_font_family).'!important; font-size: '.esc_attr($beauty_cosmetic_store_paragraph_font_size).'px !important;'; $beauty_cosmetic_store_theme_css .='}'; } /*---------------- Logo CSS ----------------------*/ $beauty_cosmetic_store_logo_title_font_size = get_theme_mod( 'beauty_cosmetic_store_logo_title_font_size'); $beauty_cosmetic_store_logo_tagline_font_size = get_theme_mod( 'beauty_cosmetic_store_logo_tagline_font_size'); if( $beauty_cosmetic_store_logo_title_font_size != '') { $beauty_cosmetic_store_theme_css .='#masthead .navbar-brand a{'; $beauty_cosmetic_store_theme_css .='font-size: '. $beauty_cosmetic_store_logo_title_font_size. 'px;'; $beauty_cosmetic_store_theme_css .='}'; } if( $beauty_cosmetic_store_logo_tagline_font_size != '') { $beauty_cosmetic_store_theme_css .='#masthead .navbar-brand p{'; $beauty_cosmetic_store_theme_css .='font-size: '. $beauty_cosmetic_store_logo_tagline_font_size. 'px;'; $beauty_cosmetic_store_theme_css .='}'; } /*------------------ Nav Menus -------------------*/ $beauty_cosmetic_store_nav_menu = get_theme_mod( 'beauty_cosmetic_store_nav_menu_text_transform','Capitalize'); if($beauty_cosmetic_store_nav_menu == 'Capitalize'){ $beauty_cosmetic_store_theme_css .='.main-navigation .menu > li > a{'; $beauty_cosmetic_store_theme_css .='text-transform:Capitalize;'; $beauty_cosmetic_store_theme_css .='}'; } if($beauty_cosmetic_store_nav_menu == 'Lowercase'){ $beauty_cosmetic_store_theme_css .='.main-navigation .menu > li > a{'; $beauty_cosmetic_store_theme_css .='text-transform:Lowercase;'; $beauty_cosmetic_store_theme_css .='}'; } if($beauty_cosmetic_store_nav_menu == 'Uppercase'){ $beauty_cosmetic_store_theme_css .='.main-navigation .menu > li > a{'; $beauty_cosmetic_store_theme_css .='text-transform:Uppercase;'; $beauty_cosmetic_store_theme_css .='}'; } $beauty_cosmetic_store_menu_font_size = get_theme_mod( 'beauty_cosmetic_store_menu_font_size'); if($beauty_cosmetic_store_menu_font_size != ''){ $beauty_cosmetic_store_theme_css .='.main-navigation .menu > li > a{'; $beauty_cosmetic_store_theme_css .='font-size: '.esc_attr($beauty_cosmetic_store_menu_font_size).'px;'; $beauty_cosmetic_store_theme_css .='}'; } $beauty_cosmetic_store_nav_menu_font_weight = get_theme_mod( 'beauty_cosmetic_store_nav_menu_font_weight',500); if($beauty_cosmetic_store_menu_font_size != ''){ $beauty_cosmetic_store_theme_css .='.main-navigation .menu > li > a{'; $beauty_cosmetic_store_theme_css .='font-weight: '.esc_attr($beauty_cosmetic_store_nav_menu_font_weight).';'; $beauty_cosmetic_store_theme_css .='}'; } /*------------------ Slider CSS -------------------*/ $beauty_cosmetic_store_slider_content_layout = get_theme_mod( 'beauty_cosmetic_store_slider_content_layout','Left'); if($beauty_cosmetic_store_slider_content_layout == 'Left'){ $beauty_cosmetic_store_theme_css .='.slider-inner-box, #top-slider .slider-inner-box p{'; $beauty_cosmetic_store_theme_css .='text-align : left;'; $beauty_cosmetic_store_theme_css .='}'; } if($beauty_cosmetic_store_slider_content_layout == 'Center'){ $beauty_cosmetic_store_theme_css .='.slider-inner-box, #top-slider .slider-inner-box p{'; $beauty_cosmetic_store_theme_css .='text-align : center;'; $beauty_cosmetic_store_theme_css .='}'; $beauty_cosmetic_store_theme_css .='.slider-inner-box{'; $beauty_cosmetic_store_theme_css .='right : 50%;'; $beauty_cosmetic_store_theme_css .='}'; } if($beauty_cosmetic_store_slider_content_layout == 'Right'){ $beauty_cosmetic_store_theme_css .='.slider-inner-box, #top-slider .slider-inner-box p{'; $beauty_cosmetic_store_theme_css .='text-align : right;'; $beauty_cosmetic_store_theme_css .='}'; $beauty_cosmetic_store_theme_css .='.slider-inner-box{'; $beauty_cosmetic_store_theme_css .='right : 50%;'; $beauty_cosmetic_store_theme_css .='}'; } /*------------------ Slider CSS -------------------*/ $beauty_cosmetic_store_slider_opacity_setting = get_theme_mod( 'beauty_cosmetic_store_slider_opacity_setting',false); $beauty_cosmetic_store_image_opacity_color = get_theme_mod( 'beauty_cosmetic_store_image_opacity_color'); $beauty_cosmetic_store_slider_opacity = get_theme_mod( 'beauty_cosmetic_store_slider_opacity'); if( $beauty_cosmetic_store_slider_opacity_setting != false) { $beauty_cosmetic_store_theme_css .='.slider-box img{'; $beauty_cosmetic_store_theme_css .='opacity: '. $beauty_cosmetic_store_slider_opacity. ';'; $beauty_cosmetic_store_theme_css .='}'; if( $beauty_cosmetic_store_image_opacity_color != '') { $beauty_cosmetic_store_theme_css .='.slider-box{'; $beauty_cosmetic_store_theme_css .='background-color: '. $beauty_cosmetic_store_image_opacity_color. '; border-radius: 20px;'; $beauty_cosmetic_store_theme_css .='}'; } } else { $beauty_cosmetic_store_theme_css .='.slider-box img{'; $beauty_cosmetic_store_theme_css .='opacity: 1;'; $beauty_cosmetic_store_theme_css .='}'; } /*------------------ Footer CSS -------------------*/ $beauty_cosmetic_store_footer_bg_color = get_theme_mod( 'beauty_cosmetic_store_footer_bg_color'); if($beauty_cosmetic_store_footer_bg_color != '' ){ $beauty_cosmetic_store_theme_css .='#colophon {'; $beauty_cosmetic_store_theme_css .='background-color: '.esc_attr($beauty_cosmetic_store_footer_bg_color).'; '; $beauty_cosmetic_store_theme_css .='}'; } $beauty_cosmetic_store_footer_content_color = get_theme_mod( 'beauty_cosmetic_store_footer_content_color'); if($beauty_cosmetic_store_footer_content_color != ''){ $beauty_cosmetic_store_theme_css .='#colophon, #colophon a, #colophon h5, #colophon .widget #wp-calendar caption {'; $beauty_cosmetic_store_theme_css .='color: '.esc_attr($beauty_cosmetic_store_footer_content_color).';'; $beauty_cosmetic_store_theme_css .='}'; } /*------------------ Copyright CSS -------------------*/ $beauty_cosmetic_store_copyright_text_color = get_theme_mod( 'beauty_cosmetic_store_copyright_text_color'); if($beauty_cosmetic_store_copyright_text_color != ''){ $beauty_cosmetic_store_theme_css .='#colophon .site-info a, #colophon .site-info span {'; $beauty_cosmetic_store_theme_css .='color: '.esc_attr($beauty_cosmetic_store_copyright_text_color).';'; $beauty_cosmetic_store_theme_css .='}'; }