/home/desid573/verdenaturopathy.com.au/wp-content/themes/clearwork/functions
NameSizeModeActions
images/-0755rm
kirki/-0755rm
class-tgm-plugin-activation.php1267240644editdlrm
dynamic-styles.php122420644editdlrm
meta-boxes.php26430644editdlrm
nav.php84410644editdlrm
theme-options.php275700644editdlrm
Edit: /home/desid573/verdenaturopathy.com.au/wp-content/themes/clearwork/functions/dynamic-styles.php (12242B)
:not(.alignfull), .entry-header, .entry-footer { max-width: '.esc_attr( get_theme_mod('content-width') ).'px; } '."\n"; } // logo background if ( get_theme_mod('logo-background','#ffffff') != '#ffffff' ) { $styles .= ' .site-title { background-color: '.esc_attr( get_theme_mod('logo-background') ).'; } .site-title a { color: #fff; } .site-description { margin-left: 20px; } '."\n"; } // header background if ( get_theme_mod('header-background','#ffffff') != '#ffffff' ) { $styles .= ' #header { background-color: '.esc_attr( get_theme_mod('header-background') ).'; } .site-title a { color: #fff; } .site-description { color: rgba(255,255,255,0.7); } @media only screen and (max-width: 719px) { .site-title { border-bottom-color: rgba(255,255,255,0.2)!important; } } .nav-menu:not(.mobile) a { color: rgba(255,255,255,0.8); } .nav-menu:not(.mobile) a:hover { color: #fff; } .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: #fff; } .nav-menu:not(.mobile) button .svg-icon { fill: rgba(255,255,255,0.5); } .nav-menu:not(.mobile) button.active { background: rgba(255,255,255,0.2); } .menu-toggle-icon span { background: #fff; } .nav-menu .svg-icon { fill: #fff; } .nav-menu.mobile button.active .svg-icon { fill: #fff; } .nav-menu.mobile ul ul { background: rgba(0,0,0,0.06); } .nav-menu.mobile ul li .menu-item-wrapper, .nav-menu.mobile ul ul li .menu-item-wrapper { border-bottom: 1px solid rgba(255,255,255,0.2); } .nav-menu.mobile ul li a { color: #fff; } .nav-menu.mobile ul button, .nav-menu.mobile ul ul button { border-left: 1px solid rgba(255,255,255,0.2); } .nav-menu.mobile > div > ul { border-top: 1px solid rgba(255,255,255,0.2); } '."\n"; } // social sidebar background if ( get_theme_mod('social-sidebar-background','#ffffff') != '#ffffff' ) { $styles .= ' .s2, .toggle-search, .toggle-search.active, .search-expand { background-color: '.esc_attr( get_theme_mod('social-sidebar-background') ).'; } .toggle-search { border-color: rgba(255,255,255,0.2)!important; } .toggle-search .svg-icon { fill: #fff; } .s2 .social-links .social-tooltip { color: rgba(255,255,255,0.8); } .s2 .social-links .social-tooltip:hover { color: #fff; } '."\n"; } // footer background if ( get_theme_mod('footer-background','#ffffff') != '#ffffff' ) { $styles .= ' #footer-bottom { background-color: '.esc_attr( get_theme_mod('footer-background') ).'; } #footer-bottom #copyright, #footer-bottom #credit { color: rgba(255,255,255,0.6); } #footer-bottom a { color: rgba(255,255,255,0.8); } #footer-bottom a:hover { color: #fff; } #footer-bottom #back-to-top { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.3); } #footer-bottom #back-to-top:hover { color: #fff; } #footer-bottom .social-links a { color: rgba(255,255,255,0.8); } #footer-bottom .social-links a:hover { color: #fff; } #footer-bottom .social-links .social-tooltip:hover:before { border-color: #fff transparent; } #footer-bottom .social-links .social-tooltip:hover:after { background: #fff; color: #333; } '."\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( 'clearwork-style', $styles ); } } } add_action( 'wp_enqueue_scripts', 'clearwork_dynamic_css' );