/home/awneajlw/work.codestechvista.com/wp-content/plugins/ignavo-core/inc/style.php
<?php
/*************************************************
## Ignavo Typography
*************************************************/
function ignavo_rgba_selector($rgbacolor = ''){
$explode = array_slice(explode(',',$rgbacolor), 0, -1);
$implode = implode(',', $explode);
return str_replace("rgba(", "",$implode);
}
function ignavo_custom_styling() { ?>
<style type="text/css">
<?php if (get_theme_mod( 'ignavo_mobile_sticky_header',0 ) == 1) { ?>
@media(max-width:64rem){
header.site-header.sticky-header {
position: relative;
z-index: 99;
}
.sticky-header .site-header-row.header-main {
position: fixed !important;
width: 100%;
top: 0;
z-index: 10;
background: #fff;
}
.sticky-header .site-header-row.header-main::before {
content: "";
position: absolute;
width: 100%;
height: 0.0625rem;
bottom: 0;
background-color: currentColor;
opacity: 0.1;
}
}
<?php } ?>
<?php if (get_theme_mod( 'ignavo_sticky_header',0 ) == 1) { ?>
@media(min-width:64rem){
header.site-header.sticky-header {
position: relative;
z-index: 99;
}
.sticky-header .site-header-row.header-main{
position: fixed !important;
width: 100%;
top: 0;
z-index: 10;
background: #fff;
}
.sticky-header .site-header-row.header-main::before {
content: "";
position: absolute;
width: 100%;
height: 0.0625rem;
bottom: 0;
background-color: currentColor;
opacity: 0.1;
}
}
<?php } ?>
<?php if (get_theme_mod( 'ignavo_mobile_single_sticky_cart',0 ) == 1) { ?>
@media(max-width:64rem){
.single .product-type-simple form.cart {
position: fixed;
bottom: 0;
right: 0;
z-index: 999;
background: #fff;
margin-bottom: 0;
padding: 15px;
-webkit-box-shadow: 0 -2px 5px rgb(0 0 0 / 7%);
box-shadow: 0 -2px 5px rgb(0 0 0 / 7%);
justify-content: space-between;
width: 100%;
}
.single .woocommerce-variation-add-to-cart {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
position: fixed;
bottom: 0;
right: 0;
z-index: 10000000;
background: #fff;
margin-bottom: 0;
padding: 15px;
-webkit-box-shadow: 0 -2px 5px rgb(0 0 0 / 7%);
box-shadow: 0 -2px 5px rgb(0 0 0 / 7%);
justify-content: space-between;
width: 100%;
flex-wrap: wrap;
width: 100%;
margin-bottom: 0px !important;
}
.single .site-footer .footer-row.footer-copyright {
margin-bottom: 79px;
}
.single-product-wrapper .product form.cart .cart-actions.actions-buttons{
display:none;
}
.product-detail-column .buy_now_button {
width: 100%;
}
.single .scrollToTop {
bottom: 145px;
}
}
<?php } ?>
<?php if(get_theme_mod('ignavo_shop_categories_widget_type') == 'type2') { ?>
.widget_klb_product_categories .widget-checkbox-list > ul {
height: 350px;
overflow-y: auto;
}
.widget_klb_product_categories .widget-checkbox-list > ul::-webkit-scrollbar {
width: 3px;
}
.widget_klb_product_categories .widget-checkbox-list > ul::-webkit-scrollbar-track {
background-color: #f6f4f0;
border-radius: 9px;
}
.widget_klb_product_categories .widget-checkbox-list > ul::-webkit-scrollbar-thumb {
background-color: #c1c1c1;
border-radius: 9px;
}
<?php } ?>
<?php if (get_theme_mod( 'ignavo_main_color' )) { ?>
:root {
--colors-primary-background: <?php echo esc_attr(ignavo_rgba_selector(get_theme_mod( 'ignavo_main_color' ))); ?>;
}
<?php } ?>
<?php if (get_theme_mod( 'ignavo_secondary_color' )) { ?>
:root {
--colors-secondary-background: <?php echo esc_attr(ignavo_rgba_selector(get_theme_mod( 'ignavo_secondary_color' ))); ?>;
}
<?php } ?>
<?php if(function_exists('dokan')){ ?>
input[type='submit'].dokan-btn-theme,
a.dokan-btn-theme,
.dokan-btn-theme {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_main_background_color' ) ); ?>;
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_main_background_color' ) ); ?>;
}
input[type='submit'].dokan-btn-theme .badge,
a.dokan-btn-theme .badge,
.dokan-btn-theme .badge {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_main_background_color' ) ); ?>;
}
.dokan-announcement-uread {
border: 1px solid <?php echo esc_attr(get_theme_mod( 'ignavo_main_background_color' ) ); ?> !important;
}
.dokan-announcement-uread .dokan-annnouncement-date {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_main_background_color' ) ); ?> !important;
}
.dokan-announcement-bg-uread {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_main_background_color' ) ); ?>;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover {
background: <?php echo esc_attr(get_theme_mod( 'ignavo_main_background_color' ) ); ?>;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links a:hover {
background: <?php echo esc_attr(get_theme_mod( 'ignavo_main_background_color' ) ); ?>;
}
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active {
background: <?php echo esc_attr(get_theme_mod( 'ignavo_main_background_color' ) ); ?>;
}
.dokan-product-listing .dokan-product-listing-area table.product-listing-table td.post-status label.pending {
background: <?php echo esc_attr(get_theme_mod( 'ignavo_main_background_color' ) ); ?>;
}
.product-edit-container .dokan-product-title-alert,
.product-edit-container .dokan-product-cat-alert {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_main_background_color' ) ); ?>;
}
.product-edit-container .dokan-product-less-price-alert {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_main_background_color' ) ); ?>;
}
.dokan-store-wrap {
margin-top: 3.5rem;
}
.dokan-widget-area ul {
list-style: none;
padding-left: 0;
font-size: .875rem;
font-weight: 400;
}
.dokan-widget-area ul li a {
text-decoration: none;
color: var(--color-text-lighter);
margin-bottom: .625rem;
display: inline-block;
}
form.dokan-store-products-ordeby:before,
form.dokan-store-products-ordeby:after {
content: '';
display: table;
clear: both;
}
.dokan-store-products-filter-area .orderby-search {
width: auto;
}
input.search-store-products.dokan-btn-theme {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.dokan-pagination-container .dokan-pagination li a {
display: -webkit-inline-box;
display: -ms-inline-flexbox;
display: inline-flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
font-size: .875rem;
font-weight: 600;
width: 2.25rem;
height: 2.25rem;
border-radius: 50%;
color: currentColor;
text-decoration: none;
border: none;
}
.dokan-pagination-container .dokan-pagination li.active a {
color: #fff;
background-color: var(--color-secondary) !important;
}
.dokan-pagination-container .dokan-pagination li:last-child a,
.dokan-pagination-container .dokan-pagination li:first-child a {
width: auto;
}
.vendor-customer-registration label {
margin-right: 10px;
}
.woocommerce-mini-cart dl.variation {
display: none;
}
.product-name dl.variation {
display: none;
}
.seller-rating .star-rating span.width + span {
display: none;
}
.seller-rating .star-rating {width: 70px;display: block;}
<?php } ?>
<?php if (function_exists('get_wcmp_vendor_settings') && is_user_logged_in()) {
if(is_vendor_dashboard()){
} ?>
.woosc-popup, div#woosc-area {
display: none;
}
.select-location {
display: none;
}
<?php } ?>
.site-header .site-brand img {
width: <?php echo esc_attr(get_theme_mod( 'ignavo_logo_size' ) ); ?>px;
}
@media (max-width: 768px){
.site-header .site-brand img, .site-drawer .site-brand img{
width: <?php echo esc_attr(get_theme_mod( 'ignavo_mobil_logo_size' ) ); ?>px;
}
}
.site-header.header-type1 .header-topbar {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_top_bg_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_top_font_color' ) ); ?>;
}
.site-header.header-type1 .header-topbar.border-content .site-header-inner::after{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_top_border_color' ) ); ?>;
}
.site-header.header-type1 .header-topbar .site-navigation > ul > li:hover > a {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_top_font_hvrcolor' ) ); ?>;
}
.site-header.header-type1 .header-topbar .site-navigation.navigation-horizontal > ul .sub-menu li > a {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_top_sub_font_color' ) ); ?>;
}
.site-header.header-type1 .header-topbar .site-navigation.navigation-horizontal > ul .sub-menu li > a:hover {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_top_sub_font_hvrcolor' ) ); ?>;
}
.site-header.header-type1 .header-main {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_main_bg_color' ) ); ?>;
}
.site-header.header-type1 .header-main.border-full::after{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_main_border_color' ) ); ?>;
}
.site-header.header-type1 .header-main .site-action-button .site-action-icon{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_main_icon_bg_color' ) ); ?>;
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_main_icon_border_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_main_icon_color' ) ); ?>;
}
.site-header.header-type1 .header-main .site-action-button:hover .site-action-icon{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_main_icon_bg_hvrcolor' ) ); ?>;
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_main_icon_border_hvrcolor' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_main_icon_hvrcolor' ) ); ?>;
}
.site-header.header-type1 .header-bottom {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_bottom_bg_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_bottom_font_color' ) ); ?>;
}
.site-header.header-type1 .header-bottom.border-full::after{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_bottom_border_color' ) ); ?>;
}
.site-header.header-type1 .header-bottom .site-navigation.primary-menu > ul > li > a:hover{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_bottom_font_hvrcolor' ) ); ?>;
}
.site-header.header-type1 .header-bottom .site-navigation.navigation-horizontal > ul > li.mega-menu > .sub-menu li.menu-item-has-children > a{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_bottom_submenu_header_font_color' ) ); ?>;
}
.site-header.header-type1 .header-bottom .site-navigation.navigation-horizontal > ul .sub-menu li > a{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_bottom_submenu_font_color' ) ); ?>;
}
.site-header.header-type1 .header-bottom .site-navigation.navigation-horizontal > ul .sub-menu li > a:hover{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header1_bottom_submenu_font_hvrcolor' ) ); ?>;
}
.site-header.header-type2 .header-topbar {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_top_bg_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_top_font_color' ) ); ?>;
}
.site-header.header-type2 .header-topbar.border-content .site-header-inner::after{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_top_border_color' ) ); ?>;
}
.site-header.header-type2 .header-topbar .site-navigation > ul > li:hover > a {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_top_font_hvrcolor' ) ); ?>;
}
.site-header.header-type2 .header-topbar .site-navigation.navigation-horizontal > ul .sub-menu li > a {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_top_sub_font_color' ) ); ?>;
}
.site-header.header-type2 .header-topbar .site-navigation.navigation-horizontal > ul .sub-menu li > a:hover {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_top_sub_font_hvrcolor' ) ); ?>;
}
.site-header.header-type2 .header-main {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_main_bg_color' ) ); ?>;
}
.site-header.header-type2 .header-main.border-full::after{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_main_border_color' ) ); ?>;
}
.site-header.header-type2 .header-main .site-action-button .site-action-icon{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_main_icon_bg_color' ) ); ?>;
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_main_icon_border_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_main_icon_color' ) ); ?>;
}
.site-header.header-type2 .header-main .site-action-button:hover .site-action-icon{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_main_icon_bg_hvrcolor' ) ); ?>;
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_main_icon_border_hvrcolor' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_main_icon_hvrcolor' ) ); ?>;
}
.site-header.header-type2 .header-bottom {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_bottom_bg_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_bottom_font_color' ) ); ?>;
}
.site-header.header-type2 .header-bottom.border-full::after{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_bottom_border_color' ) ); ?>;
}
.site-header.header-type2 .header-bottom .site-navigation.primary-menu > ul > li > a:hover{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_bottom_font_hvrcolor' ) ); ?>;
}
.site-header.header-type2 .header-bottom .site-navigation.navigation-horizontal > ul > li.mega-menu > .sub-menu li.menu-item-has-children > a{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_bottom_submenu_header_font_color' ) ); ?>;
}
.site-header.header-type2 .header-bottom .site-navigation.navigation-horizontal > ul .sub-menu li > a{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_bottom_submenu_font_color' ) ); ?>;
}
.site-header.header-type2 .header-bottom .site-navigation.navigation-horizontal > ul .sub-menu li > a:hover{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header2_bottom_submenu_font_hvrcolor' ) ); ?>;
}
.site-header.header-type3 .header-topbar {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_top_bg_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_top_font_color' ) ); ?>;
}
.site-header.header-type3 .header-topbar.border-content .site-header-inner::after{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_top_border_color' ) ); ?>;
}
.site-header.header-type3 .header-topbar .site-navigation > ul > li:hover > a {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_top_font_hvrcolor' ) ); ?>;
}
.site-header.header-type3 .header-topbar .site-navigation.navigation-horizontal > ul .sub-menu li > a {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_top_sub_font_color' ) ); ?>;
}
.site-header.header-type3 .header-topbar .site-navigation.navigation-horizontal > ul .sub-menu li > a:hover {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_top_sub_font_hvrcolor' ) ); ?>;
}
.site-header.header-type3 .header-main {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_main_bg_color' ) ); ?>;
}
.site-header.header-type3 .header-main.border-full::after{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_main_border_color' ) ); ?>;
}
.site-header.header-type3 .header-main .site-action-button .site-action-icon{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_main_icon_bg_color' ) ); ?>;
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_main_icon_border_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_main_icon_color' ) ); ?>;
}
.site-header.header-type3 .header-main .site-action-button:hover .site-action-icon{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_main_icon_bg_hvrcolor' ) ); ?>;
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_main_icon_border_hvrcolor' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_main_icon_hvrcolor' ) ); ?>;
}
.site-header.header-type3 .header-bottom {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_bottom_bg_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_bottom_font_color' ) ); ?>;
}
.site-header.header-type3 .header-bottom.border-full::after{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_bottom_border_color' ) ); ?>;
}
.site-header.header-type3 .header-bottom .site-navigation.primary-menu > ul > li > a:hover{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_bottom_font_hvrcolor' ) ); ?>;
}
.site-header.header-type3 .header-bottom .site-navigation.navigation-horizontal > ul > li.mega-menu > .sub-menu li.menu-item-has-children > a{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_bottom_submenu_header_font_color' ) ); ?>;
}
.site-header.header-type3 .header-bottom .site-navigation.navigation-horizontal > ul .sub-menu li > a{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_bottom_submenu_font_color' ) ); ?>;
}
.site-header.header-type3 .header-bottom .site-navigation.navigation-horizontal > ul .sub-menu li > a:hover{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header3_bottom_submenu_font_hvrcolor' ) ); ?>;
}
.site-header.header-type4 .header-topbar {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_top_bg_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_top_font_color' ) ); ?>;
}
.site-header.header-type4 .header-topbar.border-content .site-header-inner::after{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_top_border_color' ) ); ?>;
}
.site-header.header-type4 .header-topbar .site-navigation > ul > li:hover > a {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_top_font_hvrcolor' ) ); ?>;
}
.site-header.header-type4 .header-topbar .site-navigation.navigation-horizontal > ul .sub-menu li > a {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_top_sub_font_color' ) ); ?>;
}
.site-header.header-type4 .header-topbar .site-navigation.navigation-horizontal > ul .sub-menu li > a:hover {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_top_sub_font_hvrcolor' ) ); ?>;
}
.site-header.header-type4 .header-main {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_main_bg_color' ) ); ?>;
}
.site-header.header-type4 .header-main.border-full::after{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_main_border_color' ) ); ?>;
}
.site-header.header-type4 .header-main .site-action-button .site-action-icon{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_main_icon_bg_color' ) ); ?>;
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_main_icon_border_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_main_icon_color' ) ); ?>;
}
.site-header.header-type4 .header-main .site-action-button:hover .site-action-icon{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_main_icon_bg_hvrcolor' ) ); ?>;
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_main_icon_border_hvrcolor' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_main_icon_hvrcolor' ) ); ?>;
}
.site-header.header-type4 .header-bottom {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_bottom_bg_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_bottom_font_color' ) ); ?>;
}
.site-header.header-type4 .header-bottom.border-full::after{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_bottom_border_color' ) ); ?>;
}
.site-header.header-type4 .header-bottom .site-navigation.primary-menu > ul > li > a:hover{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_bottom_font_hvrcolor' ) ); ?>;
}
.site-header.header-type4 .header-bottom .site-navigation.navigation-horizontal > ul > li.mega-menu > .sub-menu li.menu-item-has-children > a{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_bottom_submenu_header_font_color' ) ); ?>;
}
.site-header.header-type4 .header-bottom .site-navigation.navigation-horizontal > ul .sub-menu li > a{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_bottom_submenu_font_color' ) ); ?>;
}
.site-header.header-type4 .header-bottom .site-navigation.navigation-horizontal > ul .sub-menu li > a:hover{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header4_bottom_submenu_font_hvrcolor' ) ); ?>;
}
.site-header.header-type5 .header-topbar {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_top_bg_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_top_font_color' ) ); ?>;
}
.site-header.header-type5 .header-topbar.border-content .site-header-inner::after{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_top_border_color' ) ); ?>;
}
.site-header.header-type5 .header-topbar .site-navigation > ul > li:hover > a {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_top_font_hvrcolor' ) ); ?>;
}
.site-header.header-type5 .header-topbar .site-navigation.navigation-horizontal > ul .sub-menu li > a {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_top_sub_font_color' ) ); ?>;
}
.site-header.header-type5 .header-topbar .site-navigation.navigation-horizontal > ul .sub-menu li > a:hover {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_top_sub_font_hvrcolor' ) ); ?>;
}
.site-header.header-type5 .header-main {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_main_bg_color' ) ); ?>;
}
.site-header.header-type5 .header-main.border-full::after{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_main_border_color' ) ); ?>;
}
.site-header.header-type5 .header-main .site-action-button .site-action-icon{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_main_icon_bg_color' ) ); ?>;
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_main_icon_border_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_main_icon_color' ) ); ?>;
}
.site-header.header-type5 .header-main .site-action-button:hover .site-action-icon{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_main_icon_bg_hvrcolor' ) ); ?>;
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_main_icon_border_hvrcolor' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_main_icon_hvrcolor' ) ); ?>;
}
.site-header.header-type5 .header-bottom {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_bottom_bg_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_bottom_font_color' ) ); ?>;
}
.site-header.header-type5 .header-bottom.border-full::after{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_bottom_border_color' ) ); ?>;
}
.site-header.header-type5 .header-bottom .site-navigation.primary-menu > ul > li > a:hover{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_bottom_font_hvrcolor' ) ); ?>;
}
.site-header.header-type5 .header-bottom .site-navigation.navigation-horizontal > ul > li.mega-menu > .sub-menu li.menu-item-has-children > a{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_bottom_submenu_header_font_color' ) ); ?>;
}
.site-header.header-type5 .header-bottom .site-navigation.navigation-horizontal > ul .sub-menu li > a{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_bottom_submenu_font_color' ) ); ?>;
}
.site-header.header-type5 .header-bottom .site-navigation.navigation-horizontal > ul .sub-menu li > a:hover{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_header5_bottom_submenu_font_hvrcolor' ) ); ?>;
}
.site-mini-cart p.woocommerce-mini-cart__buttons.buttons a:not(.checkout){
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_mini_cart_view_cart_button_bg_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_mini_cart_view_cart_button_text_color' ) ); ?>;
}
.site-mini-cart p.woocommerce-mini-cart__buttons.buttons a:not(.checkout):hover{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_mini_cart_view_cart_button_bg_hvrcolor' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_mini_cart_view_cart_button_text_hvrcolor' ) ); ?>;
}
.site-mini-cart p.woocommerce-mini-cart__buttons.buttons a.checkout{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_mini_cart_checkout_button_bg_color' ) ); ?>;
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_mini_cart_checkout_border_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_mini_cart_checkout_button_text_color' ) ); ?>;
}
.site-mini-cart p.woocommerce-mini-cart__buttons.buttons a.checkout:hover{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_mini_cart_checkout_button_bg_hvrcolor' ) ); ?>;
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_mini_cart_checkout_border_hvrcolor' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_mini_cart_checkout_button_text_hvrcolor' ) ); ?>;
}
.klb-mobile-bottom.site-mobile-navigation .site-mobile-navigation-inner ul li a .mobile-menu-label{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_mobile_bottom_menu_font_color' ) ); ?>;
}
.klb-mobile-bottom.site-mobile-navigation .site-mobile-navigation-inner ul li .mobile-navigation-icon{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_mobile_bottom_menu_icon_color' ) ); ?>;
}
.klb-mobile-bottom.site-mobile-navigation .site-mobile-navigation-inner{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_mobile_bottom_menu_bg_color' ) ); ?>;
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_mobile_bottom_menu_border_color' ) ); ?>;
}
.single-product .main-content {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_bg_color' ) ); ?>;
}
.single-product .klb-flexslider-thumbnail .flex-control-thumbs li img.flex-active{
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_image_border_color' ) ); ?>;
}
.single-product .product-header .product_title{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_title_color' ) ); ?>;
}
.single-product .product-header .product-stock.in-stock{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_stock_text_color' ) ); ?>;
}
.single-product .product-header .product-stock.in-stock::before{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_stock_text_color' ) ); ?>;
}
.single-product .product-header .product-stock.out-of-stock{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_out_of_stock_text_color' ) ); ?>;
}
.single-product-wrapper .product-detail-column .product-price-wrapper .price del{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_regular_price_color' ) ); ?>;
}
.single-product-wrapper .product-detail-column .product-price-wrapper .price ins{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_sale_price_color' ) ); ?>;
}
.single-product-wrapper .product-detail-column .orderon-whatsapp a{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_whatsapp_button_bg_color' ) ); ?> !important;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_whatsapp_button_text_color' ) ); ?> !important;
}
.single-product-wrapper .product-detail-column .orderon-whatsapp a:hover{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_whatsapp_button_bg_hvrcolor' ) ); ?> !important;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_whatsapp_button_text_hvrcolor' ) ); ?> !important;
}
.single-product-wrapper .product-detail-column .woocommerce-product-details__short-description{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_desc_color' ) ); ?>;
}
.single-product-wrapper .product-detail-column form.cart .single_add_to_cart_button{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_button_bg_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_button_text_color' ) ); ?>;
}
.single-product-wrapper .product-detail-column form.cart .single_add_to_cart_button:hover{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_button_bg_hvrcolor' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_button_text_hvrcolor' ) ); ?>;
}
.single-product-wrapper .product-detail-column .buy_now_button{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_buynow_button_bg_color' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_buynow_button_text_color' ) ); ?>;
}
.single-product-wrapper .product-detail-column .buy_now_button:hover{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_buynow_button_bg_hvrcolor' ) ); ?>;
color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_buynow_button_text_hvrcolor' ) ); ?>;
}
.single-product-wrapper .product-detail-column .cart-actions .product-wishlist a.klbwl-btn{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_wishlist_title_color' ) ); ?>;
}
.single-product-wrapper .product-detail-column .cart-actions .product-compare a.klbcp-btn{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_shop_single_compare_title_color' ) ); ?>;
}
.site-footer .site-footer-row.footer-newsletter {
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_footer_top_bg_color' ) ); ?>;
}
.site-footer .site-footer-row.footer-newsletter, .site-footer .site-footer-row.footer-widgets {
border-top-color: <?php echo esc_attr(get_theme_mod( 'ignavo_footer_top_border_color' ) ); ?>;
}
.site-footer .footer-newsletter .newsletter-text .entry-title {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_footer_top_title_color' ) ); ?>;
}
.site-footer .footer-newsletter .newsletter-text p{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_footer_top_subtitle_color' ) ); ?>;
}
.site-footer .site-footer-row.footer-widgets, .site-footer .site-footer-row.footer-info{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_footer_bg_color' ) ); ?>;
}
.site-footer .site-footer-row.bordered-content .site-footer-inner{
border-color: <?php echo esc_attr(get_theme_mod( 'ignavo_footer_border_color' ) ); ?>;
}
.site-footer .footer-widgets .widget .widget-title , .site-footer .footer-widgets .site-contact a{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_footer_title_color' ) ); ?>;
}
.site-footer .site-footer-widgets .widget .menu a , .site-footer .widget .site-contact ul li a .contact-detail p{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_footer_subtitle_color' ) ); ?>;
}
.site-footer .site-social.bg-white-light a{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_footer_bottom_icon_bg_color' ) ); ?>;
}
.site-footer .site-social.color-white a{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_footer_bottom_icon_color' ) ); ?>;
}
.site-footer .footer-info .site-info-social > span, .site-footer .footer-info .site-apps > span{
color: <?php echo esc_attr(get_theme_mod( 'ignavo_footer_bottom_title_color' ) ); ?>;
}
.site-footer .site-footer-row.footer-copyright{
background-color: <?php echo esc_attr(get_theme_mod( 'ignavo_footer_copyright_bg_color' ) ); ?>;
}
.site-footer .footer-copyright .site-copyright {
color: <?php echo esc_attr(get_theme_mod( 'ignavo_footer_copyright_color' ) ); ?>;
}
:root {
<?php
// Body Typography
$bodyfont = get_theme_mod('ignavo_body_typography', []);
if ( isset( $bodyfont['font-family'] ) ) {
echo '--theme-body-font: '.$bodyfont['font-family'].';';
}
if ( isset( $bodyfont['font-size'] ) ) {
echo '--theme-body-font-size: '.$bodyfont['font-size'].';';
}
if ( isset( $bodyfont['variant'] ) ) {
echo '--theme-body-font-weight: '.$bodyfont['variant'].';';
}
if ( isset( $bodyfont['letter-spacing'] ) ) {
echo '--theme-body-letter-spacing: '.$bodyfont['letter-spacing'].';';
}
if ( isset( $bodyfont['line-height'] ) ) {
echo '--theme-body-line-height: '.$bodyfont['line-height'].';';
}
// Heading Typography
$headingfont = get_theme_mod('ignavo_heading_typography', []);
if ( isset( $headingfont['font-family'] ) ) {
echo '--theme-heading-font: '.$headingfont['font-family'].';';
}
if ( isset( $headingfont['variant'] ) ) {
echo '--theme-heading-font-weight: '.$headingfont['variant'].';';
}
if ( isset( $headingfont['letter-spacing'] ) ) {
echo '--theme-heading-letter-spacing: '.$headingfont['letter-spacing'].';';
}
if ( isset( $headingfont['line-height'] ) ) {
echo '--theme-heading-line-height: '.$headingfont['line-height'].';';
}
// Main Menu Typography
$menufont = get_theme_mod('ignavo_menu_typography', []);
if ( isset( $menufont['font-family'] ) ) {
echo '--theme-primary-menu-font: '.$menufont['font-family'].';';
}
if ( isset( $menufont['font-size'] ) ) {
echo '--theme-primary-menu-font-size: '.$menufont['font-size'].';';
}
if ( isset( $menufont['variant'] ) ) {
echo '--theme-primary-menu-font-weight: '.$menufont['variant'].';';
}
if ( isset( $menufont['letter-spacing'] ) ) {
echo '--theme-primary-menu-letter-spacing: '.$menufont['letter-spacing'].';';
}
// Form Typography
$formfont = get_theme_mod('ignavo_form_typography', []);
if ( isset( $formfont['font-family'] ) ) {
echo '--form-input-font: '.$formfont['font-family'].';';
}
if ( isset( $formfont['variant'] ) ) {
echo '--form-input-font-weight: '.$formfont['variant'].';';
}
if ( isset( $formfont['font-size'] ) ) {
echo '--form-input-font-size-lg: '.$formfont['font-size'].';';
}
if ( isset( $formfont['letter-spacing'] ) ) {
echo '--form-input-letter-spacing: '.$formfont['letter-spacing'].';';
}
// Button Typography
$buttonfont = get_theme_mod('ignavo_button_typography', []);
if ( isset( $buttonfont['font-family'] ) ) {
echo '--form-button-font: '.$buttonfont['font-family'].';';
}
if ( isset( $buttonfont['variant'] ) ) {
echo '--form-button-font-weight: '.$buttonfont['variant'].';';
}
if ( isset( $buttonfont['font-size'] ) ) {
echo '--form-button-font-size-lg: '.$buttonfont['font-size'].';';
}
if ( isset( $buttonfont['letter-spacing'] ) ) {
echo '--form-button-letter-spacing: '.$buttonfont['letter-spacing'].';';
}
// Price Typography
$pricefont = get_theme_mod('ignavo_price_typography', []);
if ( isset( $pricefont['font-family'] ) ) {
echo '--theme-product-price-font: '.$pricefont['font-family'].';';
}
if ( isset( $pricefont['variant'] ) ) {
echo '--price-font-weight: '.$pricefont['variant'].';';
}
if ( isset( $pricefont['font-size'] ) ) {
echo '--price-font-size-lg: '.$pricefont['font-size'].';';
}
if ( isset( $buttonfont['letter-spacing'] ) ) {
echo '--price-font-letter-spacing: '.$buttonfont['letter-spacing'].';';
}
// Product Name Typography
$productnamefont = get_theme_mod('ignavo_product_name_typography', []);
if ( isset( $productnamefont['font-family'] ) ) {
echo '--theme-product-name-font: '.$productnamefont['font-family'].';';
}
if ( isset( $productnamefont['variant'] ) ) {
echo '--product-name-font-weight: '.$productnamefont['variant'].';';
}
if ( isset( $productnamefont['font-size'] ) ) {
echo '--product-name-font-size-lg: '.$productnamefont['font-size'].';';
}
if ( isset( $buttonfont['letter-spacing'] ) ) {
echo '--product-name-letter-spacing: '.$buttonfont['letter-spacing'].';';
}
// Border Radius
if ( get_theme_mod('ignavo_border_radius') ) {
echo '--theme-radius: '.get_theme_mod('ignavo_border_radius').';';
}
if ( get_theme_mod('ignavo_site_width') ) {
echo '--theme-width: '.get_theme_mod('ignavo_site_width').';';
}
?>
}
</style>
<?php }
add_action('wp_head','ignavo_custom_styling');
?>