Title: [Theme] overwrite LESS variable with Customization API
Last modified: August 30, 2016

---

# [Theme] overwrite LESS variable with Customization API

 *  [Munchie2203](https://wordpress.org/support/users/munchie2203/)
 * (@munchie2203)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/theme-overwrite-less-variable-with-customization-api/)
 * Hi there,
 * I am fairly new to WordPress Developing.
    Currently I am developing my own theme
   and would like to add css LESS. Don’t think this is a problem ? I was wandering
   if it is possible to overwrite LESS variables with the Customization API.
 * example:
    I have a color variable @main-color, when the user changes the default
   color in the Customization API, I want to override that variable. (not simply
   put some css in the header).
 * Is this possible ?
    Does anyone have an example ?

The topic ‘[Theme] overwrite LESS variable with Customization API’ is closed to 
new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [Munchie2203](https://wordpress.org/support/users/munchie2203/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/theme-overwrite-less-variable-with-customization-api/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
