File: /home/l2pbkn5l6xav/www/wp-content/themes/vw-landing-page/inline-style.php
<?php
/*---------------------------First highlight color-------------------*/
$vw_landing_page_first_color = get_theme_mod('vw_landing_page_first_color');
$custom_css = '';
if($vw_landing_page_first_color != false){
$custom_css .='.pagination a:hover, .pagination .current, #header .nav ul.sub-menu li a:hover{';
$custom_css .='background-color: '.esc_html($vw_landing_page_first_color).';';
$custom_css .='}';
}
if($vw_landing_page_first_color != false){
$custom_css .='a, .custom-social-icons i:hover, #footer .custom-social-icons i:hover, #footer li a:hover, .post-navigation a:hover .post-title,.post-navigation a:focus .post-title, .post-navigation a:hover,.post-navigation a:focus, .page-template-custom-home-page #header .nav ul li a:hover{';
$custom_css .='color: '.esc_html($vw_landing_page_first_color).';';
$custom_css .='}';
}
if($vw_landing_page_first_color != false){
$custom_css .='.post-main-box, #sidebar .widget{
box-shadow: 0px 15px 10px -15px '.esc_html($vw_landing_page_first_color).';
}';
}
/*---------------------------Second highlight color-------------------*/
$vw_landing_page_second_color = get_theme_mod('vw_landing_page_second_color');
if($vw_landing_page_first_color != false || $vw_landing_page_second_color != false){
$custom_css .='input[type="submit"], #topbar, #slider .carousel-control-prev-icon:hover, #slider .carousel-control-next-icon:hover, #slider .view-more:hover, .view-more, #info-section, #footer-2, #comments input[type="submit"], #sidebar .custom-social-icons i,#footer .custom-social-icons i, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button,.woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, nav.woocommerce-MyAccount-navigation ul li, .scrollup i{
background: linear-gradient(-90deg, '.esc_html($vw_landing_page_first_color).', '.esc_html($vw_landing_page_second_color).');
}';
}
if($vw_landing_page_first_color != false || $vw_landing_page_second_color != false){
$custom_css .='#slider .carousel-caption{
border-image: linear-gradient(to bottom, '.esc_html($vw_landing_page_first_color).', '.esc_html($vw_landing_page_second_color).') 1 100%;
}';
}
if($vw_landing_page_first_color != false || $vw_landing_page_second_color != false){
$custom_css .='#about-section hr,.post-info hr{
border-image: linear-gradient(to left, '.esc_html($vw_landing_page_first_color).', '.esc_html($vw_landing_page_second_color).') 1;
}';
}
if($vw_landing_page_first_color != false || $vw_landing_page_second_color != false){
$custom_css .='#footer h3:after{
border-image: linear-gradient(to left, '.esc_html($vw_landing_page_first_color).', '.esc_html($vw_landing_page_second_color).') 1;
}';
}
/*---------------------------Width Layout -------------------*/
$theme_lay = get_theme_mod( 'vw_landing_page_width_option','Full Width');
if($theme_lay == 'Boxed'){
$custom_css .='body{';
$custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;';
$custom_css .='}';
}else if($theme_lay == 'Wide Width'){
$custom_css .='body{';
$custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;';
$custom_css .='}';
}else if($theme_lay == 'Full Width'){
$custom_css .='body{';
$custom_css .='max-width: 100%;';
$custom_css .='}';
}
/*--------------------------- Slider Opacity -------------------*/
$theme_lay = get_theme_mod( 'vw_landing_page_slider_opacity_color','0.5');
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 .='}';
}
/*---------------------------Slider Content Layout -------------------*/
$theme_lay = get_theme_mod( 'vw_landing_page_slider_content_option','Left');
if($theme_lay == 'Left'){
$custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h2{';
$custom_css .='text-align:left; left:15%; right:35%;';
$custom_css .='}';
}else if($theme_lay == 'Center'){
$custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h2{';
$custom_css .='text-align:center; left:20%; right:20%;';
$custom_css .='}';
$custom_css .='#slider .carousel-caption{';
$custom_css .='border-left:none;';
$custom_css .='}';
}else if($theme_lay == 'Right'){
$custom_css .='#slider .carousel-caption, #slider .inner_carousel, #slider .inner_carousel h2{';
$custom_css .='text-align:right; left:35%; right:16%;';
$custom_css .='}';
$custom_css .='#slider .carousel-caption{';
$custom_css .='border-left:none; border-right:solid 5px;';
$custom_css .='}';
$custom_css .='#slider .inner_carousel{';
$custom_css .='padding-right: 20px;';
}