Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there drprasannabhat! The body colour is blackish so that it matches the footer colour on pages with very little content. The #main container has its own background colour that should be covering this.

    You can change this with the following CSS

    body.layout-full {
      background-color: #FCFCFC;
    }

    But in your case, it looks like you have unbalanced tags. That big black area has the ID #colophon – which is the footer. Just double check your child theme.

    Thread Starter Prasanna Kakunje

    (@drprasannabhat)

    Hi Greg,
    Thank you for the prompt response.
    FYI, child theme css hasn’t been modified. I have just created with import from Vantage stylesheet.

    I am assuming that the problem could be from the changes I made in the footer php file, which I modified to remove all copyrights, links etc. Please help me to correct this if anything went wrong. I am pasting my footer.php codes below…

    <footer id="colophon" class="site-footer" role="contentinfo">
    
    	<div id="footer-widgets" class="full-container">
    		<?php dynamic_sidebar( 'sidebar-footer' ) ?>
    	</div><!-- #footer-widgets -->
    
    	<?php $site_info_text = apply_filters('vantage_site_info', siteorigin_setting('general_site_info_text') ); if( !empty($site_info_text) ) : ?>
    		<div id="site-info">
    			<?php echo wp_kses_post($site_info_text) ?>
    		</div><!-- .site-info -->
    	<?php endif; ?>
    
    <?php wp_footer(); ?>
    </footer><!-- #colophon .site-footer -->

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Thread Starter Prasanna Kakunje

    (@drprasannabhat)

    Hi Greg…

    I could find out my mistake… I had to create a folder ‘parts’ in the child theme folder and move footer.php into that. Now the problem is solved.

    Thank you for your time and efforts.

    Regards,
    Prasanna

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Why is the body color not white?’ is closed to new replies.