Title: CSS
Last modified: August 20, 2016

---

# CSS

 *  [stijn03](https://wordpress.org/support/users/stijn03/)
 * (@stijn03)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/css-15/)
 * Hi,
 * In no single php file i see a reference to CSS. How does it work? in a manuel
   i read that there should always be a reference to the CSS file in every .html
   or php?

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/css-15/#post-2665912)
 * That’s correct. The relevant line will be in your theme’s header.php or functions.
   php and, as such, will be output in every web page.
 *  Thread Starter [stijn03](https://wordpress.org/support/users/stijn03/)
 * (@stijn03)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/css-15/#post-2665946)
 * thanks, but i don’t get it completely yet.
 * I think this is the relevent line you are referring to?
 * <link rel=”stylesheet” type=”text/css” media=”all” href=”<?php bloginfo( ‘stylesheet_url’);?
   >” />
 * In the function manuel, it is explained like:
 * stylesheet_url = [http://example/home/wp/wp-content/themes/child-theme/style.css](http://example/home/wp/wp-content/themes/child-theme/style.css)
 * However, i don’t see how this line is included in the ‘right file’ and referring
   to the right CSS.
 * Say for example that comments.php need some CSS. I think for the blog content
   there exist only one CSS, namely style.css? But then this line has to be added
   to all the php files?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/css-15/#post-2665951)
 * `bloginfo( 'stylesheet_url' )` references your current theme’s stylesheet.

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

The topic ‘CSS’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/css-15/#post-2665951)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
