reduxframework / redux-framework

Redux is a simple, truly extensible options framework for WordPress themes and plugins!

Home Page:http://redux.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to change css variable using image select field in redux?

daghash opened this issue · comments

I want to change the website container width by changing the CSS --site-width variable by using image select field in redux that has 2 options (boxed and fullwidth)

Use the class name of the box and assign a value to it.

.redux-container-image_select .redux-image-select {
   <!-- whatever you want here. -->
}

Use the class name of the box and assign a value to it.

.redux-container-image_select .redux-image-select {
   <!-- whatever you want here. -->
}

Thanks for your reply, but i want to change the current css variable that i used for website width

I think this is what you want: https://devs.redux.io/configuration/fields/output-variables.html#example-generated-css-variables

Unfortunately, image_select is not a supported field.