ThemeShaper Forums » Thematic

[closed]

img element in footer.php

(2 posts)
  • Started 4 years ago by markarse
  • Latest reply from Chris
  • This topic is resolved

Tags:

  1. markarse
    Member

    Hi Themies,
    Great framework!
    My question is how do I add a link to an image from within my footer.php.
    I think I have an issue with it being a *relative* link.

    Because this works when viewing the front page:
    <img src="wp-content/themes/thematic_child_theme/images/logo.png" />

    But when viewing any other page, it's broken.

    BUT THEN:

    Changing the code to this:
    <img src="../wp-content/themes/thematic_child_theme/images/logo.png" />
    will work for any page except the front page

    Posted 4 years ago #
  2. Hi,

    use the full path. The relative thing will only work in a style.css.

    Chris

    Posted 4 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.