Title: theme not using style.css
Last modified: August 19, 2016

---

# theme not using style.css

 *  [hingham](https://wordpress.org/support/users/hingham/)
 * (@hingham)
 * [16 years ago](https://wordpress.org/support/topic/theme-not-using-stylecss/)
 * made my own theme adapting the default. When adding the css I was putting the
   code at the top of the php files in a <style type=”text/css”>
 * tried to then move the css to the style.css thinking that the php would automatically
   pull the code from there.
 * any help would be very much appreciated.

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

 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [16 years ago](https://wordpress.org/support/topic/theme-not-using-stylecss/#post-1506281)
 * you need a line in header.php to include the style.css file.
 * `<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/
   css" />`
 *  Thread Starter [hingham](https://wordpress.org/support/users/hingham/)
 * (@hingham)
 * [16 years ago](https://wordpress.org/support/topic/theme-not-using-stylecss/#post-1506454)
 * thanks stvwif for the quick reply – worked fine

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

The topic ‘theme not using style.css’ is closed to new replies.

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [hingham](https://wordpress.org/support/users/hingham/)
 * Last activity: [16 years ago](https://wordpress.org/support/topic/theme-not-using-stylecss/#post-1506454)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
