Title: CSS Styles not Working
Last modified: August 18, 2016

---

# CSS Styles not Working

 *  [gesiwuj](https://wordpress.org/support/users/gesiwuj/)
 * (@gesiwuj)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/css-styles-not-working/)
 * I have coded a very simple WP theme, and for some reasons the CSS style wont 
   work. Please can someone see a problem in my code? The blog is at [http://www.ges-net.com/wp](http://www.ges-net.com/wp)
   and the scripts are:
 * INDEX.PHP
    ========= [http://www.ges-net.com/index.txt](http://www.ges-net.com/index.txt)
 * STYLE.CSS
    ========= [http://www.ges-net.com/style.txt](http://www.ges-net.com/style.txt)

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

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/css-styles-not-working/#post-349363)
 * Where is your css being loaded ?
 *  Thread Starter [gesiwuj](https://wordpress.org/support/users/gesiwuj/)
 * (@gesiwuj)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/css-styles-not-working/#post-349365)
 * The style is “style.css”. Do I have to LINK it in or something? I thought it 
   did that automatically?
 *  [spencerp](https://wordpress.org/support/users/spencerp/)
 * (@spencerp)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/css-styles-not-working/#post-349370)
 * _The style is “style.css”. Do I have to LINK it in or something? I thought it
   did that automatically?_
 * Well of course you’d have to call it up within a template file, the header.php
   file I’d say.. It will do it automatically if you have a link or call tag, calling
   it in for the blog lol!
 * Plain Jane one:
    `<link rel="stylesheet" href="http://www.yourdomain.com/wp-content/
   themes/yourtheme/style.css" type="text/css" media="screen" />`
 * One from in a header.php file:
    `<link rel="stylesheet" href="<?php bloginfo('
   stylesheet_url'); ?>" type="text/css" media="screen" />`
 * spencerp
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/css-styles-not-working/#post-349373)
 * Learn about the “anatomy of a theme” – even if it’s a simple one:
    [http://boren.nu/archives/2004/11/10/anatomy-of-a-wordpress-theme/](http://boren.nu/archives/2004/11/10/anatomy-of-a-wordpress-theme/)
   [http://www.transycan.net/blogtest/2005/03/31/visual-anatomy-of-a-wp-15-theme/](http://www.transycan.net/blogtest/2005/03/31/visual-anatomy-of-a-wp-15-theme/)
 * It is a bit more than 2 files…
 *  Thread Starter [gesiwuj](https://wordpress.org/support/users/gesiwuj/)
 * (@gesiwuj)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/css-styles-not-working/#post-349387)
 * Ah, I realise my problem. Before, I was LINKing it in, but using “style.css” 
   rather than “[http://www.domain.com&#8221](http://www.domain.com&#8221); etc.
   and it didnt work so I removed it! Thankyou!

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

The topic ‘CSS Styles not Working’ is closed to new replies.

 * 5 replies
 * 4 participants
 * Last reply from: [gesiwuj](https://wordpress.org/support/users/gesiwuj/)
 * Last activity: [20 years, 3 months ago](https://wordpress.org/support/topic/css-styles-not-working/#post-349387)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
