:not(.alignfull), .entry-header, .entry-footer { max-width: '.esc_attr( get_theme_mod('content-width') ).'px; } '."\n"; } // primary color if ( get_theme_mod('color-1','#a58861') != '#a58861' ) { $styles .= ' .page-title span, .nav-menu:not(.mobile) li.current_page_item > span > a, .nav-menu:not(.mobile) li.current-menu-item > span > a, .nav-menu:not(.mobile) li.current-menu-ancestor > span > a, .nav-menu:not(.mobile) li.current-post-parent > span > a { color: '.esc_attr( get_theme_mod('color-1') ).'; } #header-side, .toggle-search.active, .search-expand, .type-card-more-link, .alx-tabs-nav li.active a { background-color: '.esc_attr( get_theme_mod('color-1') ).'; } '."\n"; } // header logo max-height if ( get_theme_mod('logo-max-height','60') != '60' ) { $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( 'bigvisual-style', $styles ); } } } add_action( 'wp_enqueue_scripts', 'bigvisual_dynamic_css' );