Support » Themes and Templates » broken header image in single post results page

  • Resolved Scott@adszoom

    (@scottadszoom)


    using the default 2011 theme and replacing the default header image in the header.php with our .html file works fine in all browsers and pages,,, but we can not get the image to appear in the single post page example: do a search then land on results page the under a post click “read more”
    at that point it then has a broken image at the top with a blue box then a ? mark in the mid of box. Cant figure it out any idea’s?

    could it be the way we export it out of fireworks? if so whats the correct setting?

Viewing 15 replies - 1 through 15 (of 24 total)
  • Do not edit the Twenty Eleven theme. It is the default WordPress theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. First create a child theme for your changes.

    ya we are using the child hood theme

    an exact copy of the orig

    we just copied the theme and pasted in the theme directory why is this wrong?

    Then that’s not a child theme. And it’s no longer the default Twenty Eleven theme.

    ah ok got it so start from scratch download the 2011 then make a child them from that ? do you think that’s the issue?

    Since we have no way of knowing what you have changed, yes.

    Ok got it read the full thing question thou if im moving over say header.php do i need to ad anything to the header.php file in the child theme at the top like we did in the .css file? if so what and where can i find it?

    ok no you dont just tested but still having issue with the header image it still is broke on the single page results any ideas? works fine at the top of any other page.

    Any template file in the child theme will automatically be loaded in preference to the parent’s.

    ya we got it thanks for your help it did not solve the issue thou we are trying to replace the default nave menu with a .html file and we are not having luck on the single post page. If you do a search then click “read more” under the post, the new nav disappears. any idea?

    So you’ve replaced

    <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" title="<?php esc_attr_e( 'Skip to primary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to primary content', 'twentyeleven' ); ?></a></div>
    				<div class="skip-link"><a class="assistive-text" href="#secondary" title="<?php esc_attr_e( 'Skip to secondary content', 'twentyeleven' ); ?>"><?php _e( 'Skip to secondary content', 'twentyeleven' ); ?></a></div>
    				<?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( 'theme_location' => 'primary' ) ); ?>
    			</nav><!-- #access -->

    with what?
    (if it’s more than 10 lines, please use a pastebin).

    Thanks for your help the only thing im changing is

    <?php wp_nav_menu( array( ‘theme_location’ => ‘primary’ ) ); ?>

    replaced with

    <?php get_template_part(‘navigation’); ?>

    this points to a file navigation.php it works fine in any page except single.php for some reason?

    it just dispersers

    if i replace the header image NOT the default menu with new nav INSTEAD, its at the top of every page that calls the header but the single.php

    if i just inject the nav.html with no php “call” it works as well but dose not show on the single.php

    PLEASE HELP LOL

    it works fine in any page except single.php

    Can you link to a single posts so we can see this? Does your custom nav menu contain an javascript?

    Hi

    no java just .html local host so no link

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘broken header image in single post results page’ is closed to new replies.