a, .main-navigation li li:hover > a, .post-info a:hover, .woocommerce-product-details__short-description p a, .woocommerce-tabs.wc-tabs-wrapper p a, #sidebox .textwidget p a, .page-box .content h3 a, .page-box .read-more-btn a, .page-box h3 a{'; $the_writers_blog_custom_css .='color: '.esc_html($the_writers_blog_theme_color).';'; $the_writers_blog_custom_css .='}'; } if($the_writers_blog_theme_color != false){ $the_writers_blog_custom_css .='.main-navigation ul ul, .woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover, #slider .readbutton, .blogger .aboutbtn, .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,.scrollup i, .page-box a.post-link{'; $the_writers_blog_custom_css .='border-color: '.esc_html($the_writers_blog_theme_color).';'; $the_writers_blog_custom_css .='}'; } if($the_writers_blog_theme_color != false){ $the_writers_blog_custom_css .='.site-footer ul li a:hover{'; $the_writers_blog_custom_css .='color: '.esc_html($the_writers_blog_theme_color).'!important;'; $the_writers_blog_custom_css .='}'; } if($the_writers_blog_theme_color != false){ $the_writers_blog_custom_css .='.woocommerce-info{'; $the_writers_blog_custom_css .='border-top-color: '.esc_html($the_writers_blog_theme_color).'!important;'; $the_writers_blog_custom_css .='}'; } if($the_writers_blog_theme_color != false){ $the_writers_blog_custom_css .='.main-navigation ul ul li:hover{'; $the_writers_blog_custom_css .='border-left-color: '.esc_html($the_writers_blog_theme_color).'!important;'; $the_writers_blog_custom_css .='}'; } // media $the_writers_blog_custom_css .='@media screen and (max-width:768px) {'; if($the_writers_blog_theme_color != false){ $the_writers_blog_custom_css .='.page-template-home-custom #masthead .main-header{'; $the_writers_blog_custom_css .='background-color: '.esc_html($the_writers_blog_theme_color).'; }'; } $the_writers_blog_custom_css .=' }'; // css $the_writers_blog_show_slider = get_theme_mod( 'the_writers_blog_slider_arrows', true); if($the_writers_blog_show_slider == false){ $the_writers_blog_custom_css .='.page-template-home-custom #masthead .main-header{'; $the_writers_blog_custom_css .='position:static; background-color: #fe0219;padding: 10px 0;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .='.page-template-home-custom #masthead .top-menu{'; $the_writers_blog_custom_css .='background:#fff;'; $the_writers_blog_custom_css .='}'; } /*---------------------------Width Layout -------------------*/ $the_writers_blog_theme_lay = get_theme_mod( 'the_writers_blog_theme_options','Default'); if($the_writers_blog_theme_lay == 'Default'){ $the_writers_blog_custom_css .='body{'; $the_writers_blog_custom_css .='max-width: 100%;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .='.page-template-custom-home-page .middle-header{'; $the_writers_blog_custom_css .='width: 97.3%'; $the_writers_blog_custom_css .='}'; }else if($the_writers_blog_theme_lay == 'Wide Layout'){ $the_writers_blog_custom_css .='body{'; $the_writers_blog_custom_css .='width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .='.page-template-custom-home-page .middle-header{'; $the_writers_blog_custom_css .='width: 97.7%'; $the_writers_blog_custom_css .='}'; }else if($the_writers_blog_theme_lay == 'Box Layout'){ $the_writers_blog_custom_css .='body{'; $the_writers_blog_custom_css .='max-width: 1140px; width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto;'; $the_writers_blog_custom_css .='}'; } /*--------------------------- Slider Opacity -------------------*/ $the_writers_blog_slider_layout = get_theme_mod( 'the_writers_blog_slider_opacity_color','1'); if($the_writers_blog_slider_layout == '0'){ $the_writers_blog_custom_css .='#slider img{'; $the_writers_blog_custom_css .='opacity:0'; $the_writers_blog_custom_css .='}'; }else if($the_writers_blog_slider_layout == '0.1'){ $the_writers_blog_custom_css .='#slider img{'; $the_writers_blog_custom_css .='opacity:0.1'; $the_writers_blog_custom_css .='}'; }else if($the_writers_blog_slider_layout == '0.2'){ $the_writers_blog_custom_css .='#slider img{'; $the_writers_blog_custom_css .='opacity:0.2'; $the_writers_blog_custom_css .='}'; }else if($the_writers_blog_slider_layout == '0.3'){ $the_writers_blog_custom_css .='#slider img{'; $the_writers_blog_custom_css .='opacity:0.3'; $the_writers_blog_custom_css .='}'; }else if($the_writers_blog_slider_layout == '0.4'){ $the_writers_blog_custom_css .='#slider img{'; $the_writers_blog_custom_css .='opacity:0.4'; $the_writers_blog_custom_css .='}'; }else if($the_writers_blog_slider_layout == '0.5'){ $the_writers_blog_custom_css .='#slider img{'; $the_writers_blog_custom_css .='opacity:0.5'; $the_writers_blog_custom_css .='}'; }else if($the_writers_blog_slider_layout == '0.6'){ $the_writers_blog_custom_css .='#slider img{'; $the_writers_blog_custom_css .='opacity:0.6'; $the_writers_blog_custom_css .='}'; }else if($the_writers_blog_slider_layout == '0.7'){ $the_writers_blog_custom_css .='#slider img{'; $the_writers_blog_custom_css .='opacity:0.7'; $the_writers_blog_custom_css .='}'; }else if($the_writers_blog_slider_layout == '0.8'){ $the_writers_blog_custom_css .='#slider img{'; $the_writers_blog_custom_css .='opacity:0.8'; $the_writers_blog_custom_css .='}'; }else if($the_writers_blog_slider_layout == '0.9'){ $the_writers_blog_custom_css .='#slider img{'; $the_writers_blog_custom_css .='opacity:0.9'; $the_writers_blog_custom_css .='}'; } /*---------------------------Slider Content Layout -------------------*/ $the_writers_blog_slider_layout = get_theme_mod( 'the_writers_blog_slider_content_option','Left'); if($the_writers_blog_slider_layout == 'Left'){ $the_writers_blog_custom_css .='#slider .carousel-caption{'; $the_writers_blog_custom_css .='text-align:left; left:9%; right:55%;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .=' @media screen and (max-width: 990px) and (min-width: 768px){ #slider .carousel-caption{'; $the_writers_blog_custom_css .='top:57%;'; $the_writers_blog_custom_css .='} }'; $the_writers_blog_custom_css .=' @media screen and (max-width: 767px) and (min-width: 320px){ #slider .readbutton, #slider .carousel-caption,#slider .inner_carousel{'; $the_writers_blog_custom_css .='text-align:left; left:15%; right:15%;'; $the_writers_blog_custom_css .='} #slider .readbutton{'; $the_writers_blog_custom_css .='text-align:left; left:0%;'; $the_writers_blog_custom_css .='} }'; }else if($the_writers_blog_slider_layout == 'Center'){ $the_writers_blog_custom_css .='#slider .carousel-caption{'; $the_writers_blog_custom_css .='text-align:center; left:32%; right:32%;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .=' @media screen and (max-width: 767px) and (min-width: 320px){ #slider .carousel-caption{'; $the_writers_blog_custom_css .='text-align:center; left:15%; right:10%;'; $the_writers_blog_custom_css .='} }'; }else if($the_writers_blog_slider_layout == 'Right'){ $the_writers_blog_custom_css .='#slider .carousel-caption{'; $the_writers_blog_custom_css .='text-align:right; left:55%; right:9%;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .=' @media screen and (max-width: 767px) and (min-width: 320px){ #slider .readbutton{'; $the_writers_blog_custom_css .='text-align:right; left:0%; right:15%;'; $the_writers_blog_custom_css .='} #slider .carousel-caption, #slider .inner_carousel{'; $the_writers_blog_custom_css .='text-align:right; left:15%; right:15%;'; $the_writers_blog_custom_css .='} }'; } /*------------- Button Settings option-------------------*/ $the_writers_blog_top_bottom_padding = get_theme_mod('the_writers_blog_top_bottom_padding'); $the_writers_blog_left_right_padding = get_theme_mod('the_writers_blog_left_right_padding'); if($the_writers_blog_top_bottom_padding != false || $the_writers_blog_left_right_padding != false){ $the_writers_blog_custom_css .='.blogger .aboutbtn, #slider .readbutton, .form-submit input[type="submit"]{'; $the_writers_blog_custom_css .='padding-top: '.esc_html($the_writers_blog_top_bottom_padding).'px; padding-bottom: '.esc_html($the_writers_blog_top_bottom_padding).'px; padding-left: '.esc_html($the_writers_blog_left_right_padding).'px; padding-right: '.esc_html($the_writers_blog_left_right_padding).'px; display:inline-block;'; $the_writers_blog_custom_css .='}'; } $the_writers_blog_border_radius = get_theme_mod('the_writers_blog_border_radius'); $the_writers_blog_custom_css .='.blogger .aboutbtn,#slider .readbutton, .form-submit input[type="submit"]{'; $the_writers_blog_custom_css .='border-radius: '.esc_html($the_writers_blog_border_radius).'px;'; $the_writers_blog_custom_css .='}'; /*---------------------------Blog Layout -------------------*/ $the_writers_blog_theme_lay = get_theme_mod( 'the_writers_blog_blog_post_layout','Default'); if($the_writers_blog_theme_lay == 'Default'){ $the_writers_blog_custom_css .='.blogger{'; $the_writers_blog_custom_css .=''; $the_writers_blog_custom_css .='}'; }else if($the_writers_blog_theme_lay == 'Center'){ if(get_theme_mod('the_writers_blog_button_text',false)){ $the_writers_blog_custom_css .='.blogger .icons{'; $the_writers_blog_custom_css .='text-align:center; position: relative; margin-bottom: -33px; bottom:0;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .='.format-audio .icons, .format-video .icons, .format-gallery .icons{'; $the_writers_blog_custom_css .='text-align:center; '; $the_writers_blog_custom_css .='}'; } $the_writers_blog_custom_css .='.blogger, .blogger h2, .post-info, .text p, .blogger .aboutbtn, p.cat-pst{'; $the_writers_blog_custom_css .='text-align:center;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .='.post-info{'; $the_writers_blog_custom_css .='margin:10px 0;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .='.blogger .aboutbtn{'; $the_writers_blog_custom_css .='margin-top:25px;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .='.box-content{'; $the_writers_blog_custom_css .='margin:0;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .='@media screen and (max-width:768px){ .blogger .icons, .box-content{'; $the_writers_blog_custom_css .='text-align:center; '; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .'}'; }else if($the_writers_blog_theme_lay == 'Left'){ $the_writers_blog_custom_css .='.page-box, .page-box h2, .post-info, .text p, .page-box .aboutbtn, #our-services p, p.cat-pst{'; $the_writers_blog_custom_css .='text-align:Left;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .='.page-box .aboutbtn{'; $the_writers_blog_custom_css .='margin:20px 0;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .='.post-info hr{'; $the_writers_blog_custom_css .='margin-bottom:10px;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .='.page-box h2{'; $the_writers_blog_custom_css .='margin-top:10px;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .='.post-info i{'; $the_writers_blog_custom_css .='margin-left:0;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .='.post-info{'; $the_writers_blog_custom_css .='margin:10px 0;'; $the_writers_blog_custom_css .='}'; $the_writers_blog_custom_css .='.box-content{'; $the_writers_blog_custom_css .='margin:0;'; $the_writers_blog_custom_css .='}'; } /*--------- Preloader Color Option -------*/ $the_writers_blog_loader_color_setting = get_theme_mod('the_writers_blog_loader_color_setting'); if($the_writers_blog_loader_color_setting != false){ $the_writers_blog_custom_css .=' .circle .inner{'; $the_writers_blog_custom_css .='border-color: '.esc_html($the_writers_blog_loader_color_setting).';'; $the_writers_blog_custom_css .='} '; } $the_writers_blog_loader_background_color = get_theme_mod('the_writers_blog_loader_background_color'); if($the_writers_blog_loader_background_color != false){ $the_writers_blog_custom_css .=' #pre-loader{'; $the_writers_blog_custom_css .='background-color: '.esc_html($the_writers_blog_loader_background_color).';'; $the_writers_blog_custom_css .='} '; } $the_writers_blog_theme_lay = get_theme_mod( 'the_writers_blog_preloader_types','Default'); if($the_writers_blog_theme_lay == 'Default'){ $the_writers_blog_custom_css .='{'; $the_writers_blog_custom_css .=''; $the_writers_blog_custom_css .='}'; }elseif($the_writers_blog_theme_lay == 'Circle'){ $the_writers_blog_custom_css .='.circle .inner{'; $the_writers_blog_custom_css .='width:unset;'; $the_writers_blog_custom_css .='}'; }elseif($the_writers_blog_theme_lay == 'Two Circle'){ $the_writers_blog_custom_css .='.circle .inner{'; $the_writers_blog_custom_css .='width:80%; border-right: 5px;'; $the_writers_blog_custom_css .='}'; } // Responsive Media $the_writers_blog_sidebar = get_theme_mod( 'the_writers_blog_enable_disable_sidebar',true); if($the_writers_blog_sidebar == true){ $the_writers_blog_custom_css .='@media screen and (max-width:575px) {'; $the_writers_blog_custom_css .='#sidebox{'; $the_writers_blog_custom_css .='display:block;'; $the_writers_blog_custom_css .='} }'; }else if($the_writers_blog_sidebar == false){ $the_writers_blog_custom_css .='@media screen and (max-width:575px) {'; $the_writers_blog_custom_css .='#sidebox{'; $the_writers_blog_custom_css .='display:none;'; $the_writers_blog_custom_css .='} }'; } $the_writers_blog_stickyheader = get_theme_mod( 'the_writers_blog_enable_disable_fixed_header', false); if($the_writers_blog_stickyheader == true && get_theme_mod( 'the_writers_blog_fixed_header', false) == false){ $the_writers_blog_custom_css .='.fixed-header{'; $the_writers_blog_custom_css .='position:static;'; $the_writers_blog_custom_css .='} '; } if($the_writers_blog_stickyheader == true){ $the_writers_blog_custom_css .='@media screen and (max-width:575px) {'; $the_writers_blog_custom_css .='.fixed-header{'; $the_writers_blog_custom_css .='position:fixed;'; $the_writers_blog_custom_css .='} }'; }else if($the_writers_blog_stickyheader == false){ $the_writers_blog_custom_css .='@media screen and (max-width:575px) {'; $the_writers_blog_custom_css .='.fixed-header{'; $the_writers_blog_custom_css .='position:static;'; $the_writers_blog_custom_css .='} }'; } $the_writers_blog_sliderbutton = get_theme_mod( 'the_writers_blog_enable_disable_slider',false); if($the_writers_blog_sliderbutton == true && get_theme_mod( 'the_writers_blog_slider_arrows', false) == false){ $the_writers_blog_custom_css .='#slider{'; $the_writers_blog_custom_css .='display:none;'; $the_writers_blog_custom_css .='} '; } if($the_writers_blog_sliderbutton == true){ $the_writers_blog_custom_css .='@media screen and (max-width:575px) {'; $the_writers_blog_custom_css .='#slider{'; $the_writers_blog_custom_css .='display:block;'; $the_writers_blog_custom_css .='} }'; }else if($the_writers_blog_sliderbutton == false){ $the_writers_blog_custom_css .='@media screen and (max-width:575px){'; $the_writers_blog_custom_css .='#slider{'; $the_writers_blog_custom_css .='display:none;'; $the_writers_blog_custom_css .='} }'; } $the_writers_blog_sliderbutton = get_theme_mod( 'the_writers_blog_show_hide_slider_button',true); if($the_writers_blog_sliderbutton == true && get_theme_mod( 'the_writers_blog_slider_button',true) != true){ $the_writers_blog_custom_css .='#slider .readbutton{'; $the_writers_blog_custom_css .='display:none;'; $the_writers_blog_custom_css .='} '; } if($the_writers_blog_sliderbutton == true){ $the_writers_blog_custom_css .='@media screen and (max-width:575px) {'; $the_writers_blog_custom_css .='#slider .readbutton{'; $the_writers_blog_custom_css .='display: inline-block;'; $the_writers_blog_custom_css .='} }'; }else if($the_writers_blog_sliderbutton == false){ $the_writers_blog_custom_css .='@media screen and (max-width:575px){'; $the_writers_blog_custom_css .='#slider .readbutton{'; $the_writers_blog_custom_css .='display:none;'; $the_writers_blog_custom_css .='} }'; } $the_writers_blog_sliderbutton = get_theme_mod( 'the_writers_blog_enable_disable_scrolltop',true); if($the_writers_blog_sliderbutton == true && get_theme_mod( 'the_writers_blog_hide_show_scroll',true) == false){ $the_writers_blog_custom_css .='.scrollup i{'; $the_writers_blog_custom_css .='display:none;'; $the_writers_blog_custom_css .='} '; } if($the_writers_blog_sliderbutton == true){ $the_writers_blog_custom_css .='@media screen and (max-width:575px) {'; $the_writers_blog_custom_css .='.scrollup i{'; $the_writers_blog_custom_css .='display:block;'; $the_writers_blog_custom_css .='} }'; }else if($the_writers_blog_sliderbutton == false){ $the_writers_blog_custom_css .='@media screen and (max-width:575px){'; $the_writers_blog_custom_css .='.scrollup i{'; $the_writers_blog_custom_css .='display:none;'; $the_writers_blog_custom_css .='} }'; } // Copyright top-bottom padding setting $the_writers_blog_copyright_top_bottom_padding = get_theme_mod('the_writers_blog_copyright_top_bottom_padding'); if($the_writers_blog_copyright_top_bottom_padding != false){ $the_writers_blog_custom_css .='.copyright{'; $the_writers_blog_custom_css .='padding-top: '.esc_html($the_writers_blog_copyright_top_bottom_padding).'px; padding-bottom: '.esc_html($the_writers_blog_copyright_top_bottom_padding).'px;'; $the_writers_blog_custom_css .='}'; } // Slider Height $the_writers_blog_slider_height_option = get_theme_mod('the_writers_blog_slider_height_option'); if($the_writers_blog_slider_height_option != false){ $the_writers_blog_custom_css .='#slider img{'; $the_writers_blog_custom_css .='height: '.esc_html($the_writers_blog_slider_height_option).'px;'; $the_writers_blog_custom_css .='}'; } // scroll to top setting $the_writers_blog_scroll_border_radius = get_theme_mod('the_writers_blog_scroll_border_radius'); if($the_writers_blog_scroll_border_radius != false){ $the_writers_blog_custom_css .='.scrollup i{'; $the_writers_blog_custom_css .='border-radius: '.esc_html($the_writers_blog_scroll_border_radius).'px;'; $the_writers_blog_custom_css .='}'; } $the_writers_blog_scroll_top_fontsize = get_theme_mod('the_writers_blog_scroll_top_fontsize'); if($the_writers_blog_scroll_top_fontsize != false){ $the_writers_blog_custom_css .='.scrollup i{'; $the_writers_blog_custom_css .='font-size: '.esc_html($the_writers_blog_scroll_top_fontsize).'px;'; $the_writers_blog_custom_css .='}'; } $the_writers_blog_scroll_top_bottom_padding = get_theme_mod('the_writers_blog_scroll_top_bottom_padding'); $the_writers_blog_scroll_left_right_padding = get_theme_mod('the_writers_blog_scroll_left_right_padding'); if($the_writers_blog_scroll_top_bottom_padding != false || $the_writers_blog_scroll_left_right_padding != false){ $the_writers_blog_custom_css .='.scrollup i{'; $the_writers_blog_custom_css .='padding-top: '.esc_html($the_writers_blog_scroll_top_bottom_padding).'px; padding-bottom: '.esc_html($the_writers_blog_scroll_top_bottom_padding).'px; padding-left: '.esc_html($the_writers_blog_scroll_left_right_padding).'px; padding-right: '.esc_html($the_writers_blog_scroll_left_right_padding).'px;'; $the_writers_blog_custom_css .='}'; }