• Resolved Astraughn

    (@astraughn)


    I have inserted a logo in the utility bar before call us and email us. However when I navigate to a blog page, it will not display the image, and errors “Failed to load resource: the server responded with a status of 404 (Not Found)” Obviously the graphic file is in this directory, it does show properly on the home page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author marsian

    (@marsian)

    check the missing image urls on ther pages? what issue you see in it?

    posting your wordpress URL could help

    Thread Starter Astraughn

    (@astraughn)

    I can hit the image urls just fine. The WP url is locked down, I cant share it.

    Thread Starter Astraughn

    (@astraughn)

    it appears that on my post pages, additional info is added the the url. under menus i have set up navigation to point to my post categories. because of this, the url for the image source displays adding /category/upcoming-event/wp-content/uploads/….. however on my other pages the image source url shows /wp-content/uploads/…..

    Where do i change the structure for my post pages to point to the correct source folder for this image?

    Thread Starter Astraughn

    (@astraughn)

    I figured it out. In the header file there is a callout for various menus and the non primary was missing a menu class. I have copied the before and after to help others.

    <?php
    if ( has_nav_menu( ‘primary’ ) ) {
    wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘menu_class’ => ‘nav-menu’, ‘container_class’ => ‘nav-container’, ‘container’ => ‘div’ ) );
    }
    else
    {
    wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘menu_class’ => ‘nav-container’ ) );
    }
    ?>

    changed to
    if ( has_nav_menu( ‘primary’ ) ) {
    wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘menu_class’ => ‘nav-menu’, ‘container_class’ => ‘nav-container’, ‘container’ => ‘div’ ) );
    }
    else
    {
    wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘menu_class’ => ‘nav-menu’, ‘nav-container’ ) );
    }
    ?>

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘custom graphic in utilitybar’ is closed to new replies.