HEX
Server: Microsoft-IIS/10.0
System: Windows NT WIN8095 10.0 build 20348 (Windows Server 2016) AMD64
User: kytoffice-001 (0)
PHP: 7.4.30
Disabled: exec,passthru,shell_exec,system,proc_open,popen,curl_multi_exec,show_source
Upload Files
File: h:/root/home/kytoffice-001/www/expresstinou/wp-content/themes/paper-news/css/custom-style.php
<?php 
function papernews_custom_style() {
$header_color = get_theme_mod('papernews_header_overlay_color','rgba(0, 2, 79, 0.7)');
$body_background_color = get_theme_mod( 'body_background_color','#fff' );
$remove_header_image_overlay = get_theme_mod('remove_header_image_overlay',false); ?>
<style type="text/css">
  .wrapper{
    background: <?php echo esc_attr($body_background_color); ?>
  }
  body.dark .wrapper {
    background-color: #000;
  }
<?php if($remove_header_image_overlay == false ) { ?>
  <style>
  .bs-default .bs-header-main .inner{
    background-color:<?php echo esc_attr($header_color);?>
  }
  </style>
<?php } else { ?>
 <style> 
  .bs-default .bs-header-main .inner{
    background-color: transparent;
  }
 </style>
<?php } } add_action('wp_head','papernews_custom_style',10,0);