Title: TEMPLATEPATH Question
Last modified: August 18, 2016

---

# TEMPLATEPATH Question

 *  Resolved [therealhopeful](https://wordpress.org/support/users/therealhopeful/)
 * (@therealhopeful)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/templatepath-question-2/)
 * I “moved” the content over to the root index today, and all seems to be going
   well so far. However, there is one small issue I would like to resolve. In order
   to get the background image specified in my CSS I had to use an absolute URL,
   which I don’t like to do because it can lead to issues with mirrored domains,
   etc. I noticed in header.php there is TEMPLATEPATH to handle such things, but
   when I tried to use it in my PHP-enabled CSS file, it didn’t work. Do you know
   what else I might need to add to make TEMPLATEPATH functional?

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

 *  Thread Starter [therealhopeful](https://wordpress.org/support/users/therealhopeful/)
 * (@therealhopeful)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/templatepath-question-2/#post-579710)
 * 😀 bump 😀
 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [18 years, 10 months ago](https://wordpress.org/support/topic/templatepath-question-2/#post-579712)
 * The structure of you theme shouldn’t change. For example
    wp-content/ -themes/–
   yourtheme/ —style.css —index.php —other theme files —-images/ —-yourheader.jpg
   just reference the header image as relative from where the style sheet resides
   in this example under wp-content/themes/yourtheme/style.css. So when referencing
   your image use images/yourheader.jpg.
 *  Thread Starter [therealhopeful](https://wordpress.org/support/users/therealhopeful/)
 * (@therealhopeful)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/templatepath-question-2/#post-579780)
 * Hey, it worked! Thanks, Jeremy!

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

The topic ‘TEMPLATEPATH Question’ is closed to new replies.

## Tags

 * [templatepath](https://wordpress.org/support/topic-tag/templatepath/)

 * 3 replies
 * 2 participants
 * Last reply from: [therealhopeful](https://wordpress.org/support/users/therealhopeful/)
 * Last activity: [18 years, 9 months ago](https://wordpress.org/support/topic/templatepath-question-2/#post-579780)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
