Title: If style.min.css exists, use it instead.
Last modified: August 22, 2016

---

# If style.min.css exists, use it instead.

 *  [wunnle](https://wordpress.org/support/users/wunnle/)
 * (@wunnle)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/if-stylemincss-exists-use-it-instead/)
 * I’m trying to make WordPress use style.min.css instead of style.css, if it exists.
 *     ```
       if( file_exists( get_template_directory() . '/style.min.css' ) ) {
         //
       }
       ```
   
 * I’ve done the checking part (with my horrible php knowledge) , but I can’t find
   how to edit stylesheet_uri. Any help?

The topic ‘If style.min.css exists, use it instead.’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [wunnle](https://wordpress.org/support/users/wunnle/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/if-stylemincss-exists-use-it-instead/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
