li > a:hover,.post-navigation .nav-previous a, .post-navigation .nav-next a, .posts-navigation .nav-previous a, .posts-navigation .nav-next a,.article-box h3.entry-title a,.navbar-brand p,.top-info .social-link a i:hover, .top-info p.location i,.chooseus-icon i, section.featured span.last_slide_head, p.price, .woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price, .woocommerce-message::before, .woocommerce-info::before, .widget a:hover, .widget a:focus, .sidebar ul li a:hover{'; $article_blog_writer_theme_css .='color: '.esc_attr($article_blog_writer_global_color).';'; $article_blog_writer_theme_css .='}'; } if($article_blog_writer_global_color != false){ $article_blog_writer_theme_css .='.wp-block-button.is-style-outline .wp-block-button__link,.postcat-name{'; $article_blog_writer_theme_css .='color: '.esc_attr($article_blog_writer_global_color).' !important;'; $article_blog_writer_theme_css .='}'; } if($article_blog_writer_global_color != false){ $article_blog_writer_theme_css .='.wp-block-button.is-style-outline .wp-block-button__link,.button-header a, #top-slider .slide-btn a, .post-navigation .nav-previous a:hover, .post-navigation .nav-next a:hover, .posts-navigation .nav-previous a:hover, .posts-navigation .nav-next a:hover, .navigation.pagination .nav-links a.current, .navigation.pagination .nav-links a:hover, .navigation.pagination .nav-links span.current, .navigation.pagination .nav-links span:hover{'; $article_blog_writer_theme_css .='border-color: '.esc_attr($article_blog_writer_global_color).';'; $article_blog_writer_theme_css .='}'; } if($article_blog_writer_global_color != false){ $article_blog_writer_theme_css .='.woocommerce-message, .woocommerce-info{'; $article_blog_writer_theme_css .='border-top-color: '.esc_attr($article_blog_writer_global_color).';'; $article_blog_writer_theme_css .='}'; } $article_blog_writer_theme_css .='@media screen and (max-width:1000px) {'; if($article_blog_writer_global_color != false){ $article_blog_writer_theme_css .='.toggle-nav i, .sidenav .closebtn{ background: '.esc_attr($article_blog_writer_global_color).'; }'; } $article_blog_writer_theme_css .='}'; /*-------------------- Heading typography -------------------*/ $article_blog_writer_heading_color = get_theme_mod('article_blog_writer_heading_color'); $article_blog_writer_heading_font_family = get_theme_mod('article_blog_writer_heading_font_family'); $article_blog_writer_heading_font_size = get_theme_mod('article_blog_writer_heading_font_size'); if($article_blog_writer_heading_color != false || $article_blog_writer_heading_font_family != false || $article_blog_writer_heading_font_size != false){ $article_blog_writer_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{'; $article_blog_writer_theme_css .='color: '.esc_attr($article_blog_writer_heading_color).'!important; font-family: '.esc_attr($article_blog_writer_heading_font_family).'!important; font-size: '.esc_attr($article_blog_writer_heading_font_size).'px !important;'; $article_blog_writer_theme_css .='}'; } $article_blog_writer_paragraph_color = get_theme_mod('article_blog_writer_paragraph_color'); $article_blog_writer_paragraph_font_family = get_theme_mod('article_blog_writer_paragraph_font_family'); $article_blog_writer_paragraph_font_size = get_theme_mod('article_blog_writer_paragraph_font_size'); if($article_blog_writer_paragraph_color != false || $article_blog_writer_paragraph_font_family != false || $article_blog_writer_paragraph_font_size != false){ $article_blog_writer_theme_css .='p, p.site-title, span, .article-box p, ul, li{'; $article_blog_writer_theme_css .='color: '.esc_attr($article_blog_writer_paragraph_color).'!important; font-family: '.esc_attr($article_blog_writer_paragraph_font_family).'!important; font-size: '.esc_attr($article_blog_writer_paragraph_font_size).'px !important;'; $article_blog_writer_theme_css .='}'; } /*---------------- Logo CSS ----------------------*/ $article_blog_writer_logo_title_font_size = get_theme_mod( 'article_blog_writer_logo_title_font_size'); $article_blog_writer_logo_tagline_font_size = get_theme_mod( 'article_blog_writer_logo_tagline_font_size'); if( $article_blog_writer_logo_title_font_size != '') { $article_blog_writer_theme_css .='#masthead .navbar-brand a{'; $article_blog_writer_theme_css .='font-size: '. $article_blog_writer_logo_title_font_size. 'px;'; $article_blog_writer_theme_css .='}'; } if( $article_blog_writer_logo_tagline_font_size != '') { $article_blog_writer_theme_css .='#masthead .navbar-brand p{'; $article_blog_writer_theme_css .='font-size: '. $article_blog_writer_logo_tagline_font_size. 'px;'; $article_blog_writer_theme_css .='}'; } /*--------------------------- Woocommerce Product Sale Positions -------------------*/ $article_blog_writer_product_sale = get_theme_mod( 'article_blog_writer_woocommerce_product_sale','Right'); if($article_blog_writer_product_sale == 'Right'){ $article_blog_writer_theme_css .='.woocommerce ul.products li.product .onsale{'; $article_blog_writer_theme_css .='left: auto; right: 15px;'; $article_blog_writer_theme_css .='}'; }else if($article_blog_writer_product_sale == 'Left'){ $article_blog_writer_theme_css .='.woocommerce ul.products li.product .onsale{'; $article_blog_writer_theme_css .='left: 15px; right: auto;'; $article_blog_writer_theme_css .='}'; }else if($article_blog_writer_product_sale == 'Center'){ $article_blog_writer_theme_css .='.woocommerce ul.products li.product .onsale{'; $article_blog_writer_theme_css .='right: 50%;left: 50%;'; $article_blog_writer_theme_css .='}'; } /*--------------------------- Woocommerce Product Sale Border Radius -------------------*/ $article_blog_writer_woo_product_sale_border_radius = get_theme_mod('article_blog_writer_woo_product_sale_border_radius'); if($article_blog_writer_woo_product_sale_border_radius != false){ $article_blog_writer_theme_css .='.woocommerce ul.products li.product .onsale{'; $article_blog_writer_theme_css .='border-radius: '.esc_attr($article_blog_writer_woo_product_sale_border_radius).'px;'; $article_blog_writer_theme_css .='}'; } /*--------------------- Woocommerce Product Border Radius -------------------*/ $article_blog_writer_woo_product_border_radius = get_theme_mod('article_blog_writer_woo_product_border_radius', 0); if($article_blog_writer_woo_product_border_radius != false){ $article_blog_writer_theme_css .='.woocommerce ul.products li.product a img{'; $article_blog_writer_theme_css .='border-radius: '.esc_attr($article_blog_writer_woo_product_border_radius).'px;'; $article_blog_writer_theme_css .='}'; } /*--------------------------- Product Image Box Shadow -------------------*/ $article_blog_writer_woo_product_image_box_shadow = get_theme_mod('article_blog_writer_woo_product_image_box_shadow',0); if($article_blog_writer_woo_product_image_box_shadow != false){ $article_blog_writer_theme_css .='.woocommerce ul.products li.product a img{'; $article_blog_writer_theme_css .='box-shadow: '.esc_attr($article_blog_writer_woo_product_image_box_shadow).'px '.esc_attr($article_blog_writer_woo_product_image_box_shadow).'px '.esc_attr($article_blog_writer_woo_product_image_box_shadow).'px #cccccc;'; $article_blog_writer_theme_css .='}'; } /*--------------------- Woocommerce Product Border Radius -------------------*/ $article_blog_writer_woo_product_border_radius = get_theme_mod('article_blog_writer_woo_product_border_radius', 0); if($article_blog_writer_woo_product_border_radius != false){ $article_blog_writer_theme_css .='.woocommerce ul.products li.product a img{'; $article_blog_writer_theme_css .='border-radius: '.esc_attr($article_blog_writer_woo_product_border_radius).'px;'; $article_blog_writer_theme_css .='}'; } /*--------------------------- Product Image Box Shadow -------------------*/ $article_blog_writer_woo_product_image_box_shadow = get_theme_mod('article_blog_writer_woo_product_image_box_shadow',0); if($article_blog_writer_woo_product_image_box_shadow != false){ $article_blog_writer_theme_css .='.woocommerce ul.products li.product a img{'; $article_blog_writer_theme_css .='box-shadow: '.esc_attr($article_blog_writer_woo_product_image_box_shadow).'px '.esc_attr($article_blog_writer_woo_product_image_box_shadow).'px '.esc_attr($article_blog_writer_woo_product_image_box_shadow).'px #cccccc;'; $article_blog_writer_theme_css .='}'; } /*--------------------------- Featured Image Border Radius -------------------*/ $article_blog_writer_post_page_image_border_radius = get_theme_mod('article_blog_writer_post_page_image_border_radius', 0); if($article_blog_writer_post_page_image_border_radius != false){ $article_blog_writer_theme_css .='.article-box img{'; $article_blog_writer_theme_css .='border-radius: '.esc_attr($article_blog_writer_post_page_image_border_radius).'px;'; $article_blog_writer_theme_css .='}'; } /*--------------------------- Post Page Image Box Shadow -------------------*/ $article_blog_writer_post_page_image_box_shadow = get_theme_mod('article_blog_writer_post_page_image_box_shadow',0); if($article_blog_writer_post_page_image_box_shadow != false){ $article_blog_writer_theme_css .='.article-box img{'; $article_blog_writer_theme_css .='box-shadow: '.esc_attr($article_blog_writer_post_page_image_box_shadow).'px '.esc_attr($article_blog_writer_post_page_image_box_shadow).'px '.esc_attr($article_blog_writer_post_page_image_box_shadow).'px #cccccc;'; $article_blog_writer_theme_css .='}'; } /*--------------------------- Single Post Page Image Box Shadow -------------------*/ $article_blog_writer_single_post_page_image_box_shadow = get_theme_mod('article_blog_writer_single_post_page_image_box_shadow',0); if($article_blog_writer_single_post_page_image_box_shadow != false){ $article_blog_writer_theme_css .='.single-post .entry-header img{'; $article_blog_writer_theme_css .='box-shadow: '.esc_attr($article_blog_writer_single_post_page_image_box_shadow).'px '.esc_attr($article_blog_writer_single_post_page_image_box_shadow).'px '.esc_attr($article_blog_writer_single_post_page_image_box_shadow).'px #cccccc;'; $article_blog_writer_theme_css .='}'; } /*--------------------------- Single Post Page Image Border Radius -------------------*/ $article_blog_writer_single_post_page_image_border_radius = get_theme_mod('article_blog_writer_single_post_page_image_border_radius', 0); if($article_blog_writer_single_post_page_image_border_radius != false){ $article_blog_writer_theme_css .='.single-post .entry-header img{'; $article_blog_writer_theme_css .='border-radius: '.esc_attr($article_blog_writer_single_post_page_image_border_radius).'px;'; $article_blog_writer_theme_css .='}'; } /*---------------- Single post Settings ------------------*/ $article_blog_writer_single_post_navigation_show_hide = get_theme_mod('article_blog_writer_single_post_navigation_show_hide',true); if($article_blog_writer_single_post_navigation_show_hide != true){ $article_blog_writer_theme_css .='.nav-links{'; $article_blog_writer_theme_css .='display: none;'; $article_blog_writer_theme_css .='}'; } /*------------------ Nav Menus -------------------*/ $article_blog_writer_nav_menu = get_theme_mod( 'article_blog_writer_nav_menu_text_transform','Capitalize'); if($article_blog_writer_nav_menu == 'Capitalize'){ $article_blog_writer_theme_css .='.site-navigation .primary-menu > li a{'; $article_blog_writer_theme_css .='text-transform:Capitalize;'; $article_blog_writer_theme_css .='}'; } if($article_blog_writer_nav_menu == 'Lowercase'){ $article_blog_writer_theme_css .='.site-navigation .primary-menu > li a{'; $article_blog_writer_theme_css .='text-transform:Lowercase;'; $article_blog_writer_theme_css .='}'; } if($article_blog_writer_nav_menu == 'Uppercase'){ $article_blog_writer_theme_css .='.site-navigation .primary-menu > li a{'; $article_blog_writer_theme_css .='text-transform:Uppercase;'; $article_blog_writer_theme_css .='}'; } $article_blog_writer_menu_font_size = get_theme_mod( 'article_blog_writer_menu_font_size'); if($article_blog_writer_menu_font_size != ''){ $article_blog_writer_theme_css .='.site-navigation .primary-menu > li a{'; $article_blog_writer_theme_css .='font-size: '.esc_attr($article_blog_writer_menu_font_size).'px;'; $article_blog_writer_theme_css .='}'; } $article_blog_writer_nav_menu_font_weight = get_theme_mod( 'article_blog_writer_nav_menu_font_weight',600); if($article_blog_writer_menu_font_size != ''){ $article_blog_writer_theme_css .='.site-navigation .primary-menu > li a{'; $article_blog_writer_theme_css .='font-weight: '.esc_attr($article_blog_writer_nav_menu_font_weight).';'; $article_blog_writer_theme_css .='}'; }