• Resolved pezbonoba

    (@pezbonoba)


    Hey!
    I’m developing my own theme. I have used underscores as a base.
    In header.php I have added a logo. I works perfectly on the front-page (which I have created by making a front-page.php), but when I click on the other pages the logo doesn’t show. The rest of the markup in header.php shows perfectly, just not the logo-image.

    In the header.php I have added the logo, using this code:

    <div class="logo">
    <img class="img-responsive" src="wp-content/uploads/2015/08/logo.jpg" width="125px" height="125px"/>
    </div>

    Anyone has any idea why it is not working on the other pages?

Viewing 1 replies (of 1 total)
  • Thread Starter pezbonoba

    (@pezbonoba)

    Never mind. I figured it out. First I added the image to the media-library, and not only to the wp-content/uploads-folder. Then I just added the whole address, like this.

    <img class="img-responsive" src="https://www.test.dev/wp-content/uploads/2015/08/logo.jpg" width="125px" height="125px"/>
Viewing 1 replies (of 1 total)
  • The topic ‘Logo in header not showing in other pages’ is closed to new replies.