a, .primary-navigation .current-menu-item > a, .primary-navigation .current_page_ancestor > a{'; $pet_animal_store_custom_css .='color: '.esc_attr($pet_animal_store_menu_color).'!important;'; $pet_animal_store_custom_css .='}'; // menu hover color $pet_animal_store_menu_hover_color = get_theme_mod('pet_animal_store_menu_hover_color'); $pet_animal_store_custom_css .='.primary-navigation a:hover, .primary-navigation ul li a:hover{'; $pet_animal_store_custom_css .='color: '.esc_attr($pet_animal_store_menu_hover_color).' !important;'; $pet_animal_store_custom_css .='}'; // Submenu color $pet_animal_store_submenu_menu_color = get_theme_mod('pet_animal_store_submenu_menu_color'); $pet_animal_store_custom_css .='.primary-navigation ul.sub-menu a, .primary-navigation ul.sub-menu li a,.primary-navigation ul.children a, .primary-navigation ul.children li a{'; $pet_animal_store_custom_css .='color: '.esc_attr($pet_animal_store_submenu_menu_color).' !important;'; $pet_animal_store_custom_css .='}'; // Submenu Hover Color Option $pet_animal_store_submenu_hover_color = get_theme_mod('pet_animal_store_submenu_hover_color'); $pet_animal_store_custom_css .='.primary-navigation ul.sub-menu li a:hover,.primary-navigation ul.children li a:hover {'; $pet_animal_store_custom_css .='color: '.esc_attr($pet_animal_store_submenu_hover_color).'!important;'; $pet_animal_store_custom_css .='} '; // Breadcrumb color option $pet_animal_store_breadcrumb_color = get_theme_mod('pet_animal_store_breadcrumb_color'); $pet_animal_store_custom_css .='.bradcrumbs a,.bradcrumbs span{'; $pet_animal_store_custom_css .='color: '.esc_attr($pet_animal_store_breadcrumb_color).'!important;'; $pet_animal_store_custom_css .='}'; // Breadcrumb bg color option $pet_animal_store_breadcrumb_background_color = get_theme_mod('pet_animal_store_breadcrumb_background_color'); $pet_animal_store_custom_css .='.bradcrumbs a,.bradcrumbs span{'; $pet_animal_store_custom_css .='background-color: '.esc_attr($pet_animal_store_breadcrumb_background_color).'!important;'; $pet_animal_store_custom_css .='}'; // Breadcrumb hover color option $pet_animal_store_breadcrumb_hover_color = get_theme_mod('pet_animal_store_breadcrumb_hover_color'); $pet_animal_store_custom_css .='.bradcrumbs a:hover{'; $pet_animal_store_custom_css .='color: '.esc_attr($pet_animal_store_breadcrumb_hover_color).'!important;'; $pet_animal_store_custom_css .='}'; // Breadcrumb hover bg color option $pet_animal_store_breadcrumb_hover_bg_color = get_theme_mod('pet_animal_store_breadcrumb_hover_bg_color'); $pet_animal_store_custom_css .='.bradcrumbs a:hover{'; $pet_animal_store_custom_css .='background-color: '.esc_attr($pet_animal_store_breadcrumb_hover_bg_color).'!important;'; $pet_animal_store_custom_css .='}'; // Category color option $pet_animal_store_category_color = get_theme_mod('pet_animal_store_category_color'); $pet_animal_store_custom_css .='.tc-single-category a{'; $pet_animal_store_custom_css .='color: '.esc_attr($pet_animal_store_category_color).'!important;'; $pet_animal_store_custom_css .='}'; // Category bg color option $pet_animal_store_category_background_color = get_theme_mod('pet_animal_store_category_background_color'); $pet_animal_store_custom_css .='.tc-single-category a{'; $pet_animal_store_custom_css .='background-color: '.esc_attr($pet_animal_store_category_background_color).'!important;'; $pet_animal_store_custom_css .='}'; // Single post image border radious $pet_animal_store_single_post_img_border_radius = get_theme_mod('pet_animal_store_single_post_img_border_radius', 0); $pet_animal_store_custom_css .='.feature-box img{'; $pet_animal_store_custom_css .='border-radius: '.esc_attr($pet_animal_store_single_post_img_border_radius).'px;'; $pet_animal_store_custom_css .='}'; //Copyright background css $pet_animal_store_copyright_background_color = get_theme_mod('pet_animal_store_copyright_background_color'); $pet_animal_store_custom_css .='#footer{'; $pet_animal_store_custom_css .='background-color: '.esc_attr($pet_animal_store_copyright_background_color).';'; $pet_animal_store_custom_css .='}'; // Logo padding $pet_animal_store_logo_padding = get_theme_mod('pet_animal_store_logo_padding'); $pet_animal_store_custom_css .='.logo{'; $pet_animal_store_custom_css .=' padding-top:'.esc_attr($pet_animal_store_logo_padding).'px; padding-bottom:'.esc_attr($pet_animal_store_logo_padding).'px;'; $pet_animal_store_custom_css .=' padding-left:'.esc_attr($pet_animal_store_logo_padding).'px; padding-right:'.esc_attr($pet_animal_store_logo_padding).'px;'; $pet_animal_store_custom_css .='}'; // Logo margin $pet_animal_store_logo_margin = get_theme_mod('pet_animal_store_logo_margin'); $pet_animal_store_custom_css .='.logo{'; $pet_animal_store_custom_css .=' margin-top:'.esc_attr($pet_animal_store_logo_margin).'px; margin-bottom:'.esc_attr($pet_animal_store_logo_margin).'px;'; $pet_animal_store_custom_css .=' margin-left:'.esc_attr($pet_animal_store_logo_margin).'px; margin-right:'.esc_attr($pet_animal_store_logo_margin).'px;'; $pet_animal_store_custom_css .='}'; // menu color option $pet_animal_store_menu_color_setting = get_theme_mod('pet_animal_store_menu_color_setting'); $pet_animal_store_custom_css .='.toggle-menu i{'; $pet_animal_store_custom_css .='color: '.esc_attr($pet_animal_store_menu_color_setting).';'; $pet_animal_store_custom_css .='} '; // Single post image border radious $pet_animal_store_single_post_img_border_radius = get_theme_mod('pet_animal_store_single_post_img_border_radius', 0); $pet_animal_store_custom_css .='.feature-box img{'; $pet_animal_store_custom_css .='border-radius: '.esc_attr($pet_animal_store_single_post_img_border_radius).'px;'; $pet_animal_store_custom_css .='}'; // Single post image box shadow $pet_animal_store_single_post_img_box_shadow = get_theme_mod('pet_animal_store_single_post_img_box_shadow',0); $pet_animal_store_custom_css .='.feature-box img{'; $pet_animal_store_custom_css .='box-shadow: '.esc_attr($pet_animal_store_single_post_img_box_shadow).'px '.esc_attr($pet_animal_store_single_post_img_box_shadow).'px '.esc_attr($pet_animal_store_single_post_img_box_shadow).'px #ccc;'; $pet_animal_store_custom_css .='}'; // Metabox Seperator $pet_animal_store_metabox_seperator = get_theme_mod('pet_animal_store_metabox_seperator'); if($pet_animal_store_metabox_seperator != '' ){ $pet_animal_store_custom_css .='.service-text .me-2:after{'; $pet_animal_store_custom_css .=' content: "'.esc_attr($pet_animal_store_metabox_seperator).'"; padding-left:10px;'; $pet_animal_store_custom_css .='}'; } // Metabox Seperator $pet_animal_store_single_post_metabox_seperator = get_theme_mod('pet_animal_store_single_post_metabox_seperator'); if($pet_animal_store_single_post_metabox_seperator != '' ){ $pet_animal_store_custom_css .='.metabox .px-2:after{'; $pet_animal_store_custom_css .=' content: "'.esc_attr($pet_animal_store_single_post_metabox_seperator).'"; padding-left:10px;'; $pet_animal_store_custom_css .='}'; $pet_animal_store_custom_css .='.metabox span:last-child:after{'; $pet_animal_store_custom_css .=' content: none;'; $pet_animal_store_custom_css .='}'; } /*----------- Footer widgets heading alignment -----*/ $pet_animal_store_footer_widgets_heading = get_theme_mod( 'pet_animal_store_footer_widgets_heading','Left'); if($pet_animal_store_footer_widgets_heading == 'Left'){ $pet_animal_store_custom_css .='footer h3{'; $pet_animal_store_custom_css .='text-align: left;'; $pet_animal_store_custom_css .='}'; }else if($pet_animal_store_footer_widgets_heading == 'Center'){ $pet_animal_store_custom_css .='footer h3{'; $pet_animal_store_custom_css .='text-align: center;'; $pet_animal_store_custom_css .='}'; }else if($pet_animal_store_footer_widgets_heading == 'Right'){ $pet_animal_store_custom_css .='footer h3{'; $pet_animal_store_custom_css .='text-align: right;'; $pet_animal_store_custom_css .='}'; } $pet_animal_store_footer_widgets_content = get_theme_mod( 'pet_animal_store_footer_widgets_content','Left'); if($pet_animal_store_footer_widgets_content == 'Left'){ $pet_animal_store_custom_css .='footer ul,.widget_shopping_cart_content p,footer form,div#calendar_wrap,.footertown table,footer.gallery,aside#media_image-2,.tagcloud,footer figure.gallery-item,aside#block-7,.textwidget p,#calendar-2 caption,#calendar_wrap caption{'; $pet_animal_store_custom_css .='text-align: left;'; $pet_animal_store_custom_css .='}'; }else if($pet_animal_store_footer_widgets_content == 'Center'){ $pet_animal_store_custom_css .='footer ul,.widget_shopping_cart_content p,footer form,div#calendar_wrap,.footertown table,footer .gallery, aside#media_image-2,.tagcloud,footer figure.gallery-item,aside#block-7,.textwidget p,#calendar-2 caption,#calendar_wrap caption{'; $pet_animal_store_custom_css .='text-align: center;'; $pet_animal_store_custom_css .='}'; }else if($pet_animal_store_footer_widgets_content == 'Right'){ $pet_animal_store_custom_css .='footer ul,.widget_shopping_cart_content p,footer form,div#calendar_wrap,.footertown table,footer .gallery, aside#media_image-2,.tagcloud,footer figure.gallery-item,aside#block-7,.textwidget p,#calendar-2 caption,#calendar_wrap caption{'; $pet_animal_store_custom_css .='text-align: right !important;'; $pet_animal_store_custom_css .='}'; }