Topic: What is overriding my background setting?

I noticed that after upgrading to the latest arras version my background coloring is off.  For the life of me I can't figure out how to fix this.  I've added


#main { background: none repeat scroll 0 0 transparent !important; border: 0 none; }

into the user.css, but something seems to be overriding it with

#main { background: url(http://aftercredits.com/wp-content/themes/arras/images/foreground.png) !important; }

But I just can't figure out what or where that is being added and how to stop it!

Check out my movie website built using Arras: http://AfterCredits.com

Re: What is overriding my background setting?

I'm assuming that the !important in the original style is overriding your user.css file. Try removing it from the original.

Re: What is overriding my background setting?

dgodfather wrote:

I'm assuming that the !important in the original style is overriding your user.css file. Try removing it from the original.

That's the problem, I don't know where the original is coming from!  I've checked every css for the arras theme and can't find it.

Check out my movie website built using Arras: http://AfterCredits.com

Re: What is overriding my background setting?

It's defined in the head of the page. Apparently you or someone has written css styles into the head tags.

Re: What is overriding my background setting?

I don't know why I never got the email that there was a reply...

Anyway, do you have any ideas of how to track this down?  i've searched all the obvious places I can think of to look and just can't find what is causing this.  It's nothing that I have done...at least that I know of.  Like I said before, I have been taking pretty detailed notes of things I've changed and modified and I can't find anything that I have done that would cause this.

Check out my movie website built using Arras: http://AfterCredits.com

Re: What is overriding my background setting?

It's not in the header.php file? Is there some sort of php call that might be referring to something with CSS in it?

Re: What is overriding my background setting?

dgodfather wrote:

It's not in the header.php file? Is there some sort of php call that might be referring to something with CSS in it?

Nope, my header.php file contents are below.  Like I said, I've checked all the files that I can think of, most certainly all of them that are listed in Appearance - Editor - Arras/Classical Gamer and can't find anyplace where this is being referenced.


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php arras_document_title() ?></title>
<?php arras_document_description() ?>

<script type="text/javascript">
window.google_analytics_uacct = "UA-xxxxxxx";
</script>

<?php if ( is_search() || is_author() ) : ?>
<meta name="robots" content="noindex, nofollow" />
<?php endif ?>

<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

<?php if ( !file_exists(ABSPATH . 'favicon.ico') ) : ?>
<link rel="shortcut icon" href="<?php echo get_template_directory_uri() ?>/images/favicon.ico" />
<?php else: ?>
<link rel="shortcut icon" href="<?php echo home_url() ?>/favicon.ico" />
<?php endif; ?>

<meta name="viewport" content="width=1000" />

<?php
wp_enqueue_script( 'superfish', get_template_directory_uri() . '/js/superfish/superfish.js', array( 'jquery' ), '2011-12-01' );
wp_enqueue_script( 'hoverIntent', get_template_directory_uri() . '/js/superfish/hoverIntent.js', array( 'jquery' ), '2011-12-01' );

if ( is_singular() ) {
    wp_enqueue_script('comment-reply');
    wp_enqueue_script('jquery-validate', get_template_directory_uri() . '/js/jquery.validate.min.js', array( 'jquery' ), null, false);
}

?>

<?php wp_head(); ?>
<link href="https://plus.google.com/100236819288889461755" rel="publisher" />
</head>

<body <?php arras_body_class() ?>>
<script type="text/javascript">
//<![CDATA[
(function(){
var c = document.body.className;
c = c.replace(/no-js/, 'js');
document.body.className = c;
})();
//]]>
</script>
<?php arras_body() ?>

<div id="top-menu" class="clearfix">
<?php arras_above_top_menu() ?>
    <?php 
    if ( function_exists('wp_nav_menu') ) {
        wp_nav_menu( array( 
            'sort_column' => 'menu_order', 
            'menu_class' => 'sf-menu menu clearfix', 
            'theme_location' => 'top-menu',
            'container_id' => 'top-menu-content',
            'fallback_cb' => ''
        ) );
    }
    ?>
<?php arras_below_top_menu() ?>
</div><!-- #top-menu -->

<div id="header">
    <div id="branding" class="clearfix">
    <div class="logo">
        <?php if ( is_home() || is_front_page() ) : ?>
        <h1 class="blog-name"><a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a></h1>
        <h2 class="blog-description"><?php bloginfo('description'); ?></h2>
        <?php else: ?>
        <span class="blog-name"><a href="<?php echo home_url(); ?>"><?php bloginfo('name'); ?></a></span>
        <span class="blog-description"><?php bloginfo('description'); ?></span>
        <?php endif ?>
    </div>
    
    </div><!-- #branding -->
</div><!-- #header -->

<?php arras_above_nav() ?>
<div id="nav">
    <div id="nav-content" class="clearfix">
    <?php 
    if ( function_exists('wp_nav_menu') ) {
        wp_nav_menu( array( 
            'sort_column' => 'menu_order', 
            'menu_class' => 'sf-menu menu clearfix', 
            'theme_location' => 'main-menu', 
            'fallback_cb' => 'arras_nav_fallback_cb' 
        ) );
    }
    arras_beside_nav(); 
    ?>
    </div><!-- #nav-content -->
</div><!-- #nav -->
<?php arras_below_nav() ?>

<div id="wrapper">
    
    <?php arras_above_main() ?>
  
    <div id="main" class="clearfix">
    <div id="container" class="clearfix">
Check out my movie website built using Arras: http://AfterCredits.com

Re: What is overriding my background setting?

I was able to "fix" it by simply renaming that file (foreground.png) so it wouldn't be pulled.  But I would still love to know where it was coming from though!

Check out my movie website built using Arras: http://AfterCredits.com