Can't eleminate backgound image (4 posts)

  1. talan3000
    Posted 5 years ago #

    I'm completely customizing my WordPress website but there is a problem with a background image that I can't get rid of. I can't find it in the style sheet, I can't find which div it is associated with. This is the url -- http://activecitizensunited.com/ -- the entire background should be gray but I can't remove that white background image thats sitting dead center and is slightly gray on the sidebar. If you click on the sidebar links you see it better on those sub-pages.

    Some of the code is on an inline style sheet while the majority is on the attached "style.php" file.

    Please tell me how to get rid of it. Thanks.

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Try editing the theme's header.php file and removing:

    <style type="text/css" media="screen">
    // Checks to see whether it needs a sidebar or not
    if ( empty($withcomments) && !is_single() ) {
    	#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbg-<?php bloginfo('text_direction'); ?>.jpg") repeat-y top; border: none; }
    <?php } else { // No sidebar ?>
    	#page { background: url("<?php bloginfo('stylesheet_directory'); ?>/images/kubrickbgwide.jpg") repeat-y top; border: none; }
    <?php } ?>
  3. talan3000
    Posted 5 years ago #

    It worked, thank you very much esmi. I'm wondering though; will it have any negative effects that you know of.

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    No negative effects. That code was just loading different background images dependant upon which type of page was being viewed.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.