Header Image Not Showing
-
Hi, I was using an offline server and wordpress to build the website before uploading it to the site and everything was working until I changed the favicon, but I think something else must’ve changed too because the header image is no longer there and the first post has moved up accordingly.
I’m using the Twenty Eleven theme (because I was following a video editing that one) and I’ve created a child theme for it for my style and header.php.
I had the header image via the code in the header.php before I uploaded and I’ve even tried WordPress’s own uploading in the admin dashboard since it disappeared but neither seem to work. I’ve tried reuploading the image but to no avail.
I’m extremely new to coding, most of what I’ve learned is from watching videos and reading articles and forum posts and adapting my code to those, so it could well be a case of something pretty obvious is wrong that I don’t realise.
I’ve moved the navigation bar to the top of the header, due to the wants of the website owner so my header.php has this code;
<body <?php body_class(); ?>> <div id="page" class="hfeed"> <header id="branding" role="banner"> <nav id="access" role="navigation"> <h3 class="assistive-text"><?php _e( 'Main menu', 'twentyeleven' ); ?></h3> <?php /* Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. */ ?> <div class="skip-link"><a class="assistive-text" href="#content"><?php _e( 'Skip to primary content', 'twentyeleven' ); ?></a></div> <?php if ( ! is_singular() ) : ?> <div class="skip-link"><a class="assistive-text" href="#secondary"><?php _e( 'Skip to secondary content', 'twentyeleven' ); ?></a></div> <?php endif; ?> <?php /* Our navigation menu. If one isn't filled out, wp_nav_menu falls back to wp_page_menu. The menu assigned to the primary location is the one used. If one isn't assigned, the menu with the lowest ID is used. */ ?> <?php wp_nav_menu( array( 'theme_location' => 'primary' ) ); ?> </nav><!-- #access --> </header><!-- #branding --> <img src="https://unconditionalfilm.co.uk/wp-content/uploads/2015/08/logo-2.png"> <div id="main">
It’s the logo 2 image that isn’t appearing. The website is here and the header image should be located below the navigation bar in the centre of the purple background image.
Any help would be much appreciated.
- The topic ‘Header Image Not Showing’ is closed to new replies.