li > a{'; $adventure_tourism_theme_css .='text-transform:Capitalize;'; $adventure_tourism_theme_css .='}'; } if($adventure_tourism_nav_menu == 'Lowercase'){ $adventure_tourism_theme_css .='.main-navigation .menu > li > a{'; $adventure_tourism_theme_css .='text-transform:Lowercase;'; $adventure_tourism_theme_css .='}'; } if($adventure_tourism_nav_menu == 'Uppercase'){ $adventure_tourism_theme_css .='.main-navigation .menu > li > a{'; $adventure_tourism_theme_css .='text-transform:Uppercase;'; $adventure_tourism_theme_css .='}'; } /*-------------------- Global First Color -------------------*/ $adventure_tourism_global_color = get_theme_mod('adventure_tourism_global_color'); if ($adventure_tourism_global_color) { $adventure_tourism_theme_css .= ':root {'; $adventure_tourism_theme_css .= '--first-color: ' . esc_attr($adventure_tourism_global_color) . ' !important;'; $adventure_tourism_theme_css .= '} '; } /*-------------------- Heading typography -------------------*/ $adventure_tourism_heading_color = get_theme_mod('adventure_tourism_heading_color'); $adventure_tourism_heading_font_family = get_theme_mod('adventure_tourism_heading_font_family'); $adventure_tourism_heading_font_size = get_theme_mod('adventure_tourism_heading_font_size'); if($adventure_tourism_heading_color != false || $adventure_tourism_heading_font_family != false || $adventure_tourism_heading_font_size != false){ $adventure_tourism_theme_css .='h1, h2, h3, h4, h5, h6, .navbar-brand h1.site-title, h2.entry-title, h1.entry-title, h2.page-title, #latest_post h2, h2.woocommerce-loop-product__title, #top-slider .slider-inner-box h3, .featured h3.main-heading, .article-box h3.entry-title, .featured h4.main-heading, #colophon h5, .sidebar h5{'; $adventure_tourism_theme_css .='color: '.esc_attr($adventure_tourism_heading_color).'!important; font-family: '.esc_attr($adventure_tourism_heading_font_family).'!important; font-size: '.esc_attr($adventure_tourism_heading_font_size).'px !important;'; $adventure_tourism_theme_css .='}'; } $adventure_tourism_paragraph_color = get_theme_mod('adventure_tourism_paragraph_color'); $adventure_tourism_paragraph_font_family = get_theme_mod('adventure_tourism_paragraph_font_family'); $adventure_tourism_paragraph_font_size = get_theme_mod('adventure_tourism_paragraph_font_size'); if($adventure_tourism_paragraph_color != false || $adventure_tourism_paragraph_font_family != false || $adventure_tourism_paragraph_font_size != false){ $adventure_tourism_theme_css .='p, p.site-title, span, .article-box p, ul, li{'; $adventure_tourism_theme_css .='color: '.esc_attr($adventure_tourism_paragraph_color).'!important; font-family: '.esc_attr($adventure_tourism_paragraph_font_family).'!important; font-size: '.esc_attr($adventure_tourism_paragraph_font_size).'px !important;'; $adventure_tourism_theme_css .='}'; } /*---------------- Logo CSS ----------------------*/ $adventure_tourism_logo_title_font_size = get_theme_mod( 'adventure_tourism_logo_title_font_size'); $adventure_tourism_logo_tagline_font_size = get_theme_mod( 'adventure_tourism_logo_tagline_font_size'); if( $adventure_tourism_logo_title_font_size != '') { $adventure_tourism_theme_css .='#masthead .navbar-brand a{'; $adventure_tourism_theme_css .='font-size: '. $adventure_tourism_logo_title_font_size. 'px;'; $adventure_tourism_theme_css .='}'; } if( $adventure_tourism_logo_tagline_font_size != '') { $adventure_tourism_theme_css .='#masthead .navbar-brand p{'; $adventure_tourism_theme_css .='font-size: '. $adventure_tourism_logo_tagline_font_size. 'px;'; $adventure_tourism_theme_css .='}'; }