Forums

[resolved] Theme isn't dispaying logo in sub-page (3 posts)

  1. viltnieks
    Member
    Posted 2 years ago #

    Hi,

    I'm using WP as a CMS and it has worked out great so far :).

    I have a minor problem though, I have this one theme which I really like, but after I made sub-page, logo isn't displaying in that subpage. If I go one level up, logo shows, but not in that sub level.

    you can see for yourself:

    top level page

    sub level

    I mean logo that is on top left

  2. alchymyth
    The Sweeper
    Posted 2 years ago #

    you are using a relative file path to the image:
    <img src="wp-content/themes/myimages/BCG_Logo.png" alt="BCG Logo ">

    try to use an absolute file path to the image:
    <img src="<?php bloginfo('wpurl'); ?>/wp-content/themes/myimages/BCG_Logo.png" alt="BCG Logo ">

  3. viltnieks
    Member
    Posted 2 years ago #

    Thank you, will give it a try.

    edit: I'm actually configuring this from theme options page
    using this :

    Logo image (full path to image): wp-content/themes/myimages/BCG_Logo.png

    haven't changed anything in code except some really minor stuff.

    more edit: I just needed to add /

    /wp-content/themes/myimages/BCG_Logo.png
    instead of
    wp-content/themes/myimages/BCG_Logo.png

    Thank you ! :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.