Title: Custom theme with less
Last modified: August 30, 2016

---

# Custom theme with less

 *  Resolved [tompoezie](https://wordpress.org/support/users/tompoezie/)
 * (@tompoezie)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/custom-theme-with-less/)
 * Hi,
 * I made an empty base-theme for theme development. I would like to use less instead
   of css. WordPress requires a file style.css in the theme folder (/wp-admin/themes.
   php -> “Stylesheet is missing.”). Is there a way to bypass this check, or change
   the check to style.less? (Without modifying core files of course)
 * Kind regards,
    Tom

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

 *  [Michael Burridge](https://wordpress.org/support/users/mburridge/)
 * (@mburridge)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/custom-theme-with-less/#post-6660602)
 * You need to compile the .less files to a .css file. Not only does WordPress require
   a style.css file, browsers won’t be able to interpret the .less file.
 *  Thread Starter [tompoezie](https://wordpress.org/support/users/tompoezie/)
 * (@tompoezie)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/custom-theme-with-less/#post-6660643)
 * Yes, the css is only generated after the first edit of style.less. Best solution
   is to just add an empty style.css to the theme. This will be automatically overwritten
   by the lesscompiler.

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

The topic ‘Custom theme with less’ is closed to new replies.

## Tags

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

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 2 replies
 * 2 participants
 * Last reply from: [tompoezie](https://wordpress.org/support/users/tompoezie/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/custom-theme-with-less/#post-6660643)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
