Viewing 8 replies - 1 through 8 (of 8 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    as you can see that the old background is over the new one

    Unfortunately forum volunteers can’t differentiate between the two background images. Can you specify which is which?

    Thread Starter xnefoo

    (@xnefoo)

    the red one is the new one the black one is the old one
    Thanks

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you cleared your browser cache?
    I can’t replicate your issue http://awesomescreenshot.com/057l4p2b1

    Thread Starter xnefoo

    (@xnefoo)

    Yes i have cleared my browser cache and used a different browser.

    Thread Starter xnefoo

    (@xnefoo)

    I don’t see any other background !!

    screenshot: http://img.ir/jJg.jpg

    [ Signature moderated. ]

    after a minute your second background appeared.

    you should remove background image from your inline style from header:

    <style type="text/css" id="custom-background-css">
    body.custom-background { background-color: #210303; background-image: url('http://halo4-forwarduntodawn.com/wp-content/uploads/2012/11/BG.png'); background-repeat: no-repeat; background-position: top center; background-attachment: scroll; }
    </style>

    [ Signature moderated. ]

    Thread Starter xnefoo

    (@xnefoo)

    where would i be able to find that code? I checked in header.php and it’s not there

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><?php function wp_initialize_the_theme() { if (!function_exists("wp_initialize_the_theme_load") || !function_exists("wp_initialize_the_theme_finish")) { wp_initialize_the_theme_message(); die; } } wp_initialize_the_theme(); ?>
    <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'); ?>" />
    <link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'/>
    <title><?php wp_title(''); ?><?php if(wp_title('', false)) { echo ' |'; } ?> <?php bloginfo('name'); ?></title>
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/screen.css" type="text/css" media="screen, projection" />
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/print.css" type="text/css" media="print" />
    <!--[if IE]><link rel="stylesheet" href="<?php bloginfo('stylesheet_directory'); ?>/css/ie.css" type="text/css" media="screen, projection"><![endif]-->
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    
    <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <?php wp_enqueue_script("jquery"); ?>
    <?php echo get_theme_option("head") . "\n";  wp_head(); ?>
    <script src="<?php bloginfo('template_directory'); ?>/js/jquery-1.4.4.js" type="text/javascript"></script>
    <script src="<?php bloginfo('template_directory'); ?>/js/jquery.cycle.all.js" type="text/javascript"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/menu/superfish.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/menu/custom.js"></script>
    </head>
    <body <?php body_class(); ?>>
    
    	<div id="wrapper">
    <div id="wrapper-bg"><div id="wrapper-bg2">
    		<div id="outer-wrapper" class="outer-wrapper">
    			<div class="outer">
    
    			</div>
    				<div id="header" class="outer">
    					<div class="header-part">
    						<?php
    						$get_logo_image = get_theme_option('logo');
    						if($get_logo_image != '') {
    							?>
    							<a href="<?php bloginfo('url'); ?>"><img src="<?php echo $get_logo_image; ?>" alt="<?php bloginfo('name'); ?>" title="<?php bloginfo('name'); ?>" class="logoimg" /></a>
    							<?php
    						} else {
    							?>
    							<h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>
    							<h2><?php bloginfo('description'); ?></h2>
    							<?php
    						}
    						?>
    
    					</div>
    
    					<div class="header-part rightsector">
                            <div style="padding: 0 0 0 0; text-align:right;">
    
    <?php if(get_theme_option('socialnetworks') != '') {
        		?>
        			<div class="addthis_toolbox">
        			    <?php if(get_theme_option('rss') != '') { ?><a href="<?php echo get_theme_option('rss'); ?>"  title="Subsrcribe"><img src="<?php bloginfo('template_url'); ?>/images/social-icons/rss.png"  style="margin:0 4px 0 0;"  /></a><?php } ?>
    
    <?php if(get_theme_option('facebook') != '') { ?><a href="<?php echo get_theme_option('facebook'); ?>" title="Facebook"><img src="<?php bloginfo('template_url'); ?>/images/social-icons/facebook.png"  style="margin:0 4px 0 0; "  title="Facebook" /></a><?php } ?>
    
    <?php if(get_theme_option('twitter') != '') { ?><a href="<?php echo get_theme_option('twitter'); ?>" title="Twitter"><img src="<?php bloginfo('template_url'); ?>/images/social-icons/twitter.png"  style="margin:0 4px 0 0; " title="Twitter" /></a><?php } ?>
    
    <?php if(get_theme_option('googleplus') != '') { ?><a href="<?php echo get_theme_option('googleplus'); ?>" title="Google Plus"><img src="<?php bloginfo('template_url'); ?>/images/social-icons/googleplus.png"  style="margin:0 4px 0 0; "  title="Google Plus" /></a><?php } ?>
    
    <?php if(get_theme_option('linkedin') != '') { ?><a href="<?php echo get_theme_option('linkedin'); ?>" title="LinkedIn"><img src="<?php bloginfo('template_url'); ?>/images/social-icons/linkedin.png"  style="margin:0 4px 0 0; "  title="LinkedIn" /></a><?php } ?>
    
    <?php if(get_theme_option('youtube') != '') { ?><a href="<?php echo get_theme_option('youtube'); ?>" title="YouTube"><img src="<?php bloginfo('template_url'); ?>/images/social-icons/youtube.png"  style="margin:0 4px 0 0; "  title="YouTube" /></a><?php } ?>
    
    <?php if(get_theme_option('email') != '') { ?><a href="<?php echo get_theme_option('email'); ?>" title="eMail"><img src="<?php bloginfo('template_url'); ?>/images/social-icons/email.png"  style="margin:0 4px 0 0; "  title="eMail" /></a><?php } ?>
    
        			</div>	<?php
        	}
        ?>
    
                            </div>
    					</div>
    				</div>
    
    			<div class="outer">
    				<div class="navi-links">
                        <div class="navi-primary-container">
    					<?php
                        if(function_exists('wp_nav_menu')) {
                            wp_nav_menu( 'theme_location=menu_1&menu_class=navi-primary navis&container=&fallback_cb=menu_1_default');
                        } else {
                            menu_1_default();
                        }
    
                        function menu_1_default()
                        {
                            ?>
                            <ul class="navis navi-primary">
        						<li <?php if(is_home()) { ?> class="current_page_item" <?php } ?>><a href="<?php echo get_option('home'); ?>/">Home</a></li>
        						<?php wp_list_pages('sort_column=menu_order&title_li=' ); ?>
        					</ul>
                            <?php
                        }
    
                    ?>
                        </div>
    				</div>
    
                     <div id="topsearch">
    					<?php get_search_form(); ?>
    				</div>
    			</div>
Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Background image not changing!’ is closed to new replies.