Title: css doesn&#039;t work in wp
Last modified: August 20, 2016

---

# css doesn't work in wp

 *  [nnc24](https://wordpress.org/support/users/nnc24/)
 * (@nnc24)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/css-doesnt-work-in-wp/)
 * Hi, i made my own wp-template but when i upload my theme it doenst show my css…
 * In my dreamweaver preview it does work and as far as i know my link to the css
   file is correct?
    `<link rel="stylesheet" href="style.css" type="text/css" media
   ="screen" />`
 * I don’t know and i can’t find how to fix this?
    Somebody who knows how to fix
   this??

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

 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/css-doesnt-work-in-wp/#post-2360807)
 * Try it with this (from twenty eleven): `<link rel="stylesheet" type="text/css"
   media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />`
 *  [Anjara](https://wordpress.org/support/users/hiteshanjara/)
 * (@hiteshanjara)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/css-doesnt-work-in-wp/#post-2360808)
 * Hey nnc24,
 * Here you need to put full path(url) of the css file.You can add style.css in 
   header.php file two ways:
 * You can include stylesheet as per wordpress format:
 * `<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url');?
   >" />`
 * OR
 * You can include manually style.css file:
 * `<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url');?
   >/style.css" />`
 * Let me know if you have any question or confusion on the same.
 * Thanks & Regards,
    Hitesh Anjara
 *  Thread Starter [nnc24](https://wordpress.org/support/users/nnc24/)
 * (@nnc24)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/css-doesnt-work-in-wp/#post-2360860)
 * Thanks a lot for your help!
 * On the `'stylesheet_url'` do I put there `'style.css'`??
 * and if I use the one bellow what do I put on the place of`'template_url'`
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/css-doesnt-work-in-wp/#post-2360861)
 * no, you copy that exactly. it’s how WP requests the full path to your stylesheet.
 * use teh first one, referencing stylesheet.
 *  Thread Starter [nnc24](https://wordpress.org/support/users/nnc24/)
 * (@nnc24)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/css-doesnt-work-in-wp/#post-2360862)
 * Nevermind!!
    I didn’t need to fill that in but leave it just like that! 😉 Thanks
   a lot for the help!

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

The topic ‘css doesn't work in wp’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [nnc24](https://wordpress.org/support/users/nnc24/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/css-doesnt-work-in-wp/#post-2360862)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
