a, .wp-pagenavi a { color: '.esc_attr( get_theme_mod('color-1') ).'; } .themeform input[type="button"], .themeform input[type="reset"], .themeform input[type="submit"], .themeform button[type="button"], .themeform button[type="reset"], .themeform button[type="submit"], .sidebar-toggle, .toggle-search, .search-expand, #profile, .format-circle, .post-tags a:hover, .widget_calendar caption, .dark .widget_calendar caption, .author-bio .bio-avatar:after, .commentlist li.bypostauthor > .comment-body:after, .commentlist li.comment-author-admin > .comment-body:after, .jp-play-bar, .jp-volume-bar-value { background-color: '.esc_attr( get_theme_mod('color-1') ).'; } .post-format .format-container { border-color: '.esc_attr( get_theme_mod('color-1') ).'; } .alx-tabs-nav li.active a, .dark .alx-tabs-nav li.active a, .comment-tabs li.active a, .wp-pagenavi a:hover, .wp-pagenavi a:active, .wp-pagenavi span.current { border-bottom-color: '.esc_attr( get_theme_mod('color-1') ).'!important; } '."\n"; } // image border radius if ( get_theme_mod('image-border-radius') != '0' ) { $styles .= 'img { -webkit-border-radius: '.esc_attr( get_theme_mod('image-border-radius') ).'px; border-radius: '.esc_attr( get_theme_mod('image-border-radius') ).'px; }'."\n"; } // header text color if ( get_theme_mod( 'header_textcolor' ) != '' ) { $styles .= '.site-title a, .site-description { color: #'.esc_attr( get_theme_mod( 'header_textcolor' ) ).'; }'."\n"; } wp_add_inline_style( 'readspec-style', $styles ); } } } add_action( 'wp_enqueue_scripts', 'readspec_dynamic_css' );