li > a{'; $beauty_cosmetic_store_theme_css .='text-transform:Capitalize;'; $beauty_cosmetic_store_theme_css .='}'; } if($beauty_cosmetic_store_nav_menu == 'Lowercase'){ $beauty_cosmetic_store_theme_css .='.main-navigation .menu > li > a{'; $beauty_cosmetic_store_theme_css .='text-transform:Lowercase;'; $beauty_cosmetic_store_theme_css .='}'; } if($beauty_cosmetic_store_nav_menu == 'Uppercase'){ $beauty_cosmetic_store_theme_css .='.main-navigation .menu > li > a{'; $beauty_cosmetic_store_theme_css .='text-transform:Uppercase;'; $beauty_cosmetic_store_theme_css .='}'; } $beauty_cosmetic_store_menu_font_size = get_theme_mod( 'beauty_cosmetic_store_menu_font_size'); if($beauty_cosmetic_store_menu_font_size != ''){ $beauty_cosmetic_store_theme_css .='.main-navigation .menu > li > a{'; $beauty_cosmetic_store_theme_css .='font-size: '.esc_attr($beauty_cosmetic_store_menu_font_size).'px;'; $beauty_cosmetic_store_theme_css .='}'; } $beauty_cosmetic_store_nav_menu_font_weight = get_theme_mod( 'beauty_cosmetic_store_nav_menu_font_weight',500); if($beauty_cosmetic_store_menu_font_size != ''){ $beauty_cosmetic_store_theme_css .='.main-navigation .menu > li > a{'; $beauty_cosmetic_store_theme_css .='font-weight: '.esc_attr($beauty_cosmetic_store_nav_menu_font_weight).';'; $beauty_cosmetic_store_theme_css .='}'; } /*------------------ Slider CSS -------------------*/ $beauty_cosmetic_store_slider_content_layout = get_theme_mod( 'beauty_cosmetic_store_slider_content_layout','Left'); if($beauty_cosmetic_store_slider_content_layout == 'Left'){ $beauty_cosmetic_store_theme_css .='.slider-inner-box, #top-slider .slider-inner-box p{'; $beauty_cosmetic_store_theme_css .='text-align : left;'; $beauty_cosmetic_store_theme_css .='}'; } if($beauty_cosmetic_store_slider_content_layout == 'Center'){ $beauty_cosmetic_store_theme_css .='.slider-inner-box, #top-slider .slider-inner-box p{'; $beauty_cosmetic_store_theme_css .='text-align : center;'; $beauty_cosmetic_store_theme_css .='}'; $beauty_cosmetic_store_theme_css .='.slider-inner-box{'; $beauty_cosmetic_store_theme_css .='right : 50%;'; $beauty_cosmetic_store_theme_css .='}'; } if($beauty_cosmetic_store_slider_content_layout == 'Right'){ $beauty_cosmetic_store_theme_css .='.slider-inner-box, #top-slider .slider-inner-box p{'; $beauty_cosmetic_store_theme_css .='text-align : right;'; $beauty_cosmetic_store_theme_css .='}'; $beauty_cosmetic_store_theme_css .='.slider-inner-box{'; $beauty_cosmetic_store_theme_css .='right : 50%;'; $beauty_cosmetic_store_theme_css .='}'; } /*------------------ Slider CSS -------------------*/ $beauty_cosmetic_store_slider_opacity_setting = get_theme_mod( 'beauty_cosmetic_store_slider_opacity_setting',false); $beauty_cosmetic_store_image_opacity_color = get_theme_mod( 'beauty_cosmetic_store_image_opacity_color'); $beauty_cosmetic_store_slider_opacity = get_theme_mod( 'beauty_cosmetic_store_slider_opacity'); if( $beauty_cosmetic_store_slider_opacity_setting != false) { $beauty_cosmetic_store_theme_css .='.slider-box img{'; $beauty_cosmetic_store_theme_css .='opacity: '. $beauty_cosmetic_store_slider_opacity. ';'; $beauty_cosmetic_store_theme_css .='}'; if( $beauty_cosmetic_store_image_opacity_color != '') { $beauty_cosmetic_store_theme_css .='.slider-box{'; $beauty_cosmetic_store_theme_css .='background-color: '. $beauty_cosmetic_store_image_opacity_color. '; border-radius: 20px;'; $beauty_cosmetic_store_theme_css .='}'; } } else { $beauty_cosmetic_store_theme_css .='.slider-box img{'; $beauty_cosmetic_store_theme_css .='opacity: 1;'; $beauty_cosmetic_store_theme_css .='}'; } /*------------------ Footer CSS -------------------*/ $beauty_cosmetic_store_footer_bg_color = get_theme_mod( 'beauty_cosmetic_store_footer_bg_color'); if($beauty_cosmetic_store_footer_bg_color != '' ){ $beauty_cosmetic_store_theme_css .='#colophon {'; $beauty_cosmetic_store_theme_css .='background-color: '.esc_attr($beauty_cosmetic_store_footer_bg_color).'; '; $beauty_cosmetic_store_theme_css .='}'; } $beauty_cosmetic_store_footer_content_color = get_theme_mod( 'beauty_cosmetic_store_footer_content_color'); if($beauty_cosmetic_store_footer_content_color != ''){ $beauty_cosmetic_store_theme_css .='#colophon, #colophon a, #colophon h5, #colophon .widget #wp-calendar caption {'; $beauty_cosmetic_store_theme_css .='color: '.esc_attr($beauty_cosmetic_store_footer_content_color).';'; $beauty_cosmetic_store_theme_css .='}'; } /*------------------ Copyright CSS -------------------*/ $beauty_cosmetic_store_copyright_text_color = get_theme_mod( 'beauty_cosmetic_store_copyright_text_color'); if($beauty_cosmetic_store_copyright_text_color != ''){ $beauty_cosmetic_store_theme_css .='#colophon .site-info a, #colophon .site-info span {'; $beauty_cosmetic_store_theme_css .='color: '.esc_attr($beauty_cosmetic_store_copyright_text_color).';'; $beauty_cosmetic_store_theme_css .='}'; } /*--------------------------- Woocommerce Product Sale Positions -------------------*/ $beauty_cosmetic_store_product_sale = get_theme_mod( 'beauty_cosmetic_store_woocommerce_product_sale','Right'); if($beauty_cosmetic_store_product_sale == 'Right'){ $beauty_cosmetic_store_theme_css .='.woocommerce ul.products li.product .onsale{'; $beauty_cosmetic_store_theme_css .='left: auto; right: 15px;'; $beauty_cosmetic_store_theme_css .='}'; }else if($beauty_cosmetic_store_product_sale == 'Left'){ $beauty_cosmetic_store_theme_css .='.woocommerce ul.products li.product .onsale{'; $beauty_cosmetic_store_theme_css .='left: 15px; right: auto;'; $beauty_cosmetic_store_theme_css .='}'; }else if($beauty_cosmetic_store_product_sale == 'Center'){ $beauty_cosmetic_store_theme_css .='.woocommerce ul.products li.product .onsale{'; $beauty_cosmetic_store_theme_css .='right: 50%;left: 50%;'; $beauty_cosmetic_store_theme_css .='}'; } /*--------------------------- Woocommerce Product Sale Border Radius -------------------*/ $beauty_cosmetic_store_woo_product_sale_border_radius = get_theme_mod('beauty_cosmetic_store_woo_product_sale_border_radius'); if($beauty_cosmetic_store_woo_product_sale_border_radius != false){ $beauty_cosmetic_store_theme_css .='.woocommerce ul.products li.product .onsale{'; $beauty_cosmetic_store_theme_css .='border-radius: '.esc_attr($beauty_cosmetic_store_woo_product_sale_border_radius).'px;'; $beauty_cosmetic_store_theme_css .='}'; } /*--------------------- Woocommerce Product Border Radius -------------------*/ $beauty_cosmetic_store_woo_product_border_radius = get_theme_mod('beauty_cosmetic_store_woo_product_border_radius', 0); if($beauty_cosmetic_store_woo_product_border_radius != false){ $beauty_cosmetic_store_theme_css .='.woocommerce ul.products li.product a img{'; $beauty_cosmetic_store_theme_css .='border-radius: '.esc_attr($beauty_cosmetic_store_woo_product_border_radius).'px;'; $beauty_cosmetic_store_theme_css .='}'; } /*--------------------------- Product Image Box Shadow -------------------*/ $beauty_cosmetic_store_woo_product_image_box_shadow = get_theme_mod('beauty_cosmetic_store_woo_product_image_box_shadow',0); if($beauty_cosmetic_store_woo_product_image_box_shadow != false){ $beauty_cosmetic_store_theme_css .='.woocommerce ul.products li.product a img{'; $beauty_cosmetic_store_theme_css .='box-shadow: '.esc_attr($beauty_cosmetic_store_woo_product_image_box_shadow).'px '.esc_attr($beauty_cosmetic_store_woo_product_image_box_shadow).'px '.esc_attr($beauty_cosmetic_store_woo_product_image_box_shadow).'px #cccccc;'; $beauty_cosmetic_store_theme_css .='}'; } /*--------------------------- Featured Image Border Radius -------------------*/ $beauty_cosmetic_store_post_page_image_border_radius = get_theme_mod('beauty_cosmetic_store_post_page_image_border_radius', 0); if($beauty_cosmetic_store_post_page_image_border_radius != false){ $beauty_cosmetic_store_theme_css .='.article-box img{'; $beauty_cosmetic_store_theme_css .='border-radius: '.esc_attr($beauty_cosmetic_store_post_page_image_border_radius).'px;'; $beauty_cosmetic_store_theme_css .='}'; } /*--------------------------- Post Page Image Box Shadow -------------------*/ $beauty_cosmetic_store_post_page_image_box_shadow = get_theme_mod('beauty_cosmetic_store_post_page_image_box_shadow',0); if($beauty_cosmetic_store_post_page_image_box_shadow != false){ $beauty_cosmetic_store_theme_css .='.article-box img{'; $beauty_cosmetic_store_theme_css .='box-shadow: '.esc_attr($beauty_cosmetic_store_post_page_image_box_shadow).'px '.esc_attr($beauty_cosmetic_store_post_page_image_box_shadow).'px '.esc_attr($beauty_cosmetic_store_post_page_image_box_shadow).'px #cccccc;'; $beauty_cosmetic_store_theme_css .='}'; } /*--------------------------- Single Post Page Image Box Shadow -------------------*/ $beauty_cosmetic_store_single_post_page_image_box_shadow = get_theme_mod('beauty_cosmetic_store_single_post_page_image_box_shadow',0); if($beauty_cosmetic_store_single_post_page_image_box_shadow != false){ $beauty_cosmetic_store_theme_css .='.single-post .entry-header img{'; $beauty_cosmetic_store_theme_css .='box-shadow: '.esc_attr($beauty_cosmetic_store_single_post_page_image_box_shadow).'px '.esc_attr($beauty_cosmetic_store_single_post_page_image_box_shadow).'px '.esc_attr($beauty_cosmetic_store_single_post_page_image_box_shadow).'px #cccccc;'; $beauty_cosmetic_store_theme_css .='}'; } /*--------------------------- Single Post Page Image Border Radius -------------------*/ $beauty_cosmetic_store_single_post_page_image_border_radius = get_theme_mod('beauty_cosmetic_store_single_post_page_image_border_radius', 0); if($beauty_cosmetic_store_single_post_page_image_border_radius != false){ $beauty_cosmetic_store_theme_css .='.single-post .entry-header img{'; $beauty_cosmetic_store_theme_css .='border-radius: '.esc_attr($beauty_cosmetic_store_single_post_page_image_border_radius).'px;'; $beauty_cosmetic_store_theme_css .='}'; } /*---------------- Single post Settings ------------------*/ $beauty_cosmetic_store_single_post_navigation_show_hide = get_theme_mod('beauty_cosmetic_store_single_post_navigation_show_hide',true); if($beauty_cosmetic_store_single_post_navigation_show_hide != true){ $beauty_cosmetic_store_theme_css .='.nav-links{'; $beauty_cosmetic_store_theme_css .='display: none;'; $beauty_cosmetic_store_theme_css .='}'; }