WordPress.org

Support

Support » How-To and Troubleshooting » background images not showing up in header

background images not showing up in header

  • rachelacutler
    Member

    @rachelacutler

    I am using the boiler plate theme for this website

    richcutlersoundmix.com

    and can’t get the images to load in the header. There should be one for the logo in the upper left corner. if you put your mouse there you will see that it is a link. there should also be an image for the header going behind the logo as well as the nav bar. this is my header code:

    <header role="banner">
    			<nav id="access" role="navigation">
    		  <?php /*  Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
    			<a href="#content">"><?php _e( 'Skip to content', 'boilerplate' ); ?></a>
    			<?php /* Our navigation menu.  If one isn't filled out, wp_nav_menu falls back to wp_page_menu.  The menu assiged to the primary position is the one used.  If none is assigned, the menu with the lowest ID is used.  */ ?>
    			<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?>
    		</nav><!-- #access -->
    		<h1 id="logo"><a>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?> </a></h1>
    
    		</header>

    and this is my style sheet code :

    .header{
    	width:100%;
    	height:240px;
    	background-image: url('http://www.richcutlersoundmix.com/rich/wp-content/themes/boilerplate-1/images/header_image.png') repeat;
    }
    
    .logo a{
    	width:200px;
    	height:200px;
    	float:left;
    	margin-left:80px;
    	text-indent:-9999px;
    	overflow: hidden;
    	display: block;
    	background-image: url('http://www.richcutlersoundmix.com/rich/wp-content/themes/boilerplate-1/images/logorc.png') no-repeat;

    please help!!

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘background images not showing up in header’ is closed to new replies.