.comment-body::after, .commentlist li.comment-author-admin > .comment-body::after { background: linear-gradient(130deg, '.esc_attr( get_theme_mod('gradient-left') ).' 0%, '.esc_attr( get_theme_mod('gradient-right') ).' 100%); } .post-comments > span:before { border-color: transparent '.esc_attr( get_theme_mod('gradient-left') ).' transparent transparent; } '."\n"; } // gradient right if ( get_theme_mod('gradient-right','#0072ff') != '#0072ff' ) { $styles .= ' .card-articles:after, .author-bio:after { background: linear-gradient(0deg, '.esc_attr( get_theme_mod('gradient-right') ).' 0%, '.esc_attr( get_theme_mod('gradient-left') ).' 100%); } #header, .post-comments, .header-comments li a:hover { background: linear-gradient(90deg, '.esc_attr( get_theme_mod('gradient-left') ).' 0%, '.esc_attr( get_theme_mod('gradient-right') ).' 100%); } .card-header:before, .alx-tabs-nav li.active a, .author-bio .bio-avatar:after, .themeform input[type="button"], .themeform input[type="reset"], .themeform input[type="submit"], .themeform button[type="button"], .themeform button[type="reset"], .themeform button[type="submit"], .themeform input[type="button"]:hover, .themeform input[type="reset"]:hover, .themeform input[type="submit"]:hover, .themeform button[type="button"]:hover, .themeform button[type="reset"]:hover, .themeform button[type="submit"]:hover, .commentlist li.bypostauthor > .comment-body::after, .commentlist li.comment-author-admin > .comment-body::after { background: linear-gradient(130deg, '.esc_attr( get_theme_mod('gradient-left') ).' 0%, '.esc_attr( get_theme_mod('gradient-right') ).' 100%); } .post-comments > span:before { border-color: transparent '.esc_attr( get_theme_mod('gradient-left') ).' transparent transparent; } '."\n"; } // header logo max-height if ( get_theme_mod('logo-max-height','40') != '40' ) { $styles .= '.site-title a img { max-height: '.esc_attr( get_theme_mod('logo-max-height') ).'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( 'airl-style', $styles ); } } } add_action( 'wp_enqueue_scripts', 'airl_dynamic_css' );