a, .primary-navigation ul li a:hover,.metabox a:hover, #sidebar ul li a:hover,.tags i{'; $custom_css .='color: '.esc_html($advance_fitness_gym_theme_color).';'; $custom_css .='}'; } if($advance_fitness_gym_theme_color != false){ $custom_css .='.page-box{'; $custom_css .='border-bottom-color: '.esc_html($advance_fitness_gym_theme_color).';'; $custom_css .='}'; } if($advance_fitness_gym_theme_color != false){ $custom_css .='.woocommerce-message, .primary-navigation ul ul{'; $custom_css .='border-top-color: '.esc_html($advance_fitness_gym_theme_color).';'; $custom_css .='}'; } if($advance_fitness_gym_theme_color != false){ $custom_css .='#footer input[type="search"], .second-border a:hover,.tags p a:hover,#fitness-togym .know-btn a.blogbutton-small:hover{'; $custom_css .='border-color: '.esc_html($advance_fitness_gym_theme_color).';'; $custom_css .='}'; } if($advance_fitness_gym_theme_color != false){ $custom_css .='#comments input[type="submit"].submit, nav.woocommerce-MyAccount-navigation ul li{'; $custom_css .='background-color: '.esc_html($advance_fitness_gym_theme_color).'!important;'; $custom_css .='}'; } // media $custom_css .='@media screen and (max-width:1000px) {'; if($advance_fitness_gym_theme_color){ $custom_css .='#menu-sidebar, .primary-navigation ul ul a, .primary-navigation li a:hover, .primary-navigation li:hover a, #contact-info { background-image: linear-gradient(-90deg, #000 0%, '.esc_html($advance_fitness_gym_theme_color).' 120%); }'; } $custom_css .='}'; /*---------------------------Width Layout -------------------*/ $theme_lay = get_theme_mod( 'advance_fitness_gym_theme_options','Default'); if($theme_lay == 'Default'){ $custom_css .='body{'; $custom_css .='max-width: 100%;'; $custom_css .='}'; $custom_css .='.page-template-custom-home-page .middle-header{'; $custom_css .='width: 97.3%'; $custom_css .='}'; }else if($theme_lay == 'Container'){ $custom_css .='body{'; $custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;'; $custom_css .='}'; $custom_css .='.page-template-custom-home-page .middle-header{'; $custom_css .='width: 97.7%'; $custom_css .='}'; }else if($theme_lay == 'Box Container'){ $custom_css .='body{'; $custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;'; $custom_css .='}'; } // css $show_header = get_theme_mod( 'advance_fitness_gym_slider_hide', true); if($show_header == false){ $custom_css .='.fitnes-post{'; $custom_css .=';'; $custom_css .='}'; $custom_css .='.fitnes-post{'; $custom_css .='margin-top: 0%;padding:0;'; $custom_css .='}'; } /*---------------------------Slider Content Layout -------------------*/ $theme_lay = get_theme_mod( 'advance_fitness_gym_slider_content_alignment','Center'); if($theme_lay == 'Left'){ $custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{'; $custom_css .='text-align:left; left:15%; right:45%;'; $custom_css .='}'; }else if($theme_lay == 'Center'){ $custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{'; $custom_css .='text-align:center; left:25%; right:25%;'; $custom_css .='}'; }else if($theme_lay == 'Right'){ $custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h1, #slider .inner_carousel p, #slider .readbutton{'; $custom_css .='text-align:right; left:45%; right:15%;'; $custom_css .='}'; } /*--------------------------- Slider Opacity -------------------*/ $theme_lay = get_theme_mod( 'advance_fitness_gym_slider_image_opacity','0.7'); if($theme_lay == '0'){ $custom_css .='#slider img{'; $custom_css .='opacity:0'; $custom_css .='}'; }else if($theme_lay == '0.1'){ $custom_css .='#slider img{'; $custom_css .='opacity:0.1'; $custom_css .='}'; }else if($theme_lay == '0.2'){ $custom_css .='#slider img{'; $custom_css .='opacity:0.2'; $custom_css .='}'; }else if($theme_lay == '0.3'){ $custom_css .='#slider img{'; $custom_css .='opacity:0.3'; $custom_css .='}'; }else if($theme_lay == '0.4'){ $custom_css .='#slider img{'; $custom_css .='opacity:0.4'; $custom_css .='}'; }else if($theme_lay == '0.5'){ $custom_css .='#slider img{'; $custom_css .='opacity:0.5'; $custom_css .='}'; }else if($theme_lay == '0.6'){ $custom_css .='#slider img{'; $custom_css .='opacity:0.6'; $custom_css .='}'; }else if($theme_lay == '0.7'){ $custom_css .='#slider img{'; $custom_css .='opacity:0.7'; $custom_css .='}'; }else if($theme_lay == '0.8'){ $custom_css .='#slider img{'; $custom_css .='opacity:0.8'; $custom_css .='}'; }else if($theme_lay == '0.9'){ $custom_css .='#slider img{'; $custom_css .='opacity:0.9'; $custom_css .='}'; }