a::before, .entry-meta .fa, .entry-footer .fa, .main-navigation li:after, a, a:active, a:focus, .recipe-hero article.recipe .recipe-single-meta .dashicons-testimonial, .recipe-hero-recipe-rating { color:" . esc_html($primary_color) . "}"."\n"; $custom .= ".featured-area, .site-footer, #masthead .transp-square li:hover, #masthead .transp-round li:hover, .social-navigation li { background-color:" . esc_html($primary_color) . "}"."\n"; $custom .= ".amplify_courses_list li, .amplify_cuisines_list li, .block-title, .widget-title, .social-navigation li { border-color:" . esc_html($primary_color) . "}"."\n"; $custom .= ".featured-svg .svg-container path, .svg-container.svg-up path { fill:" . esc_html($primary_color) . "}"."\n"; } //Header color $header_color = get_theme_mod( 'header_color' ); if ( isset($header_color) && ( $header_color != '#fff' )) { $custom .= ".site-branding, .main-navigation, .main-navigation li { background-color:" . esc_html($header_color) . "}"."\n"; $custom .= ".svg-container path { fill:" . esc_html($header_color) . "}"."\n"; } //Site title $site_title = get_theme_mod( 'site_title_color' ); if ( isset($site_title) && ( $site_title != '#DF7B7B' )) { $custom .= ".site-title a { color:" . esc_html($site_title) . "}"."\n"; } //Site description $site_desc = get_theme_mod( 'site_desc_color' ); if ( isset($site_desc) && ( $site_desc != '#5e5e5e' )) { $custom .= ".site-description { color:" . esc_html($site_desc) . "}"."\n"; } //Body text $nav_color = get_theme_mod( 'nav_color' ); if ( isset($nav_color) && ( $nav_color != '#5e5e5e' )) { $custom .= ".main-navigation a { color:" . esc_html($nav_color) . "}"."\n"; } //Body text $body_text = get_theme_mod( 'body_text_color' ); if ( isset($body_text) && ( $body_text != '#646464' )) { $custom .= "body { color:" . esc_html($body_text) . "}"."\n"; } */ //Output all the styles wp_add_inline_style( 'amplify-style', $custom ); } add_action( 'wp_enqueue_scripts', 'amplify_custom_styles' );