Title: dynamic stylesheet
Last modified: August 21, 2016

---

# dynamic stylesheet

 *  [Perkin5](https://wordpress.org/support/users/perkin5/)
 * (@perkin5)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/dynamic-stylesheet-2/)
 * I want to use a dynamic stylesheet to conditionaly load header images. I’ve set
   up style.php in my child theme, set up a header link to it and it works OK. However,
   I want to use WordPress functions such as get_site_url() for the image paths 
   and this does not work.
 * Can anyone explain in simple terms how I can do that? (I’m a newbie to WordPress)

The topic ‘dynamic stylesheet’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [Stylesheet](https://wordpress.org/support/topic-tag/stylesheet/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Perkin5](https://wordpress.org/support/users/perkin5/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/dynamic-stylesheet-2/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
