Use Theme colors in CSS customisation


I just manually styled my CF7 buttons to be the same colour as my theme primary colour (set under Color Manager).

No that I have changed my colors in the Color Manager, I need to manually update it in the CF7 button and many other element.

Is there a way to recall the themeco colours via CSS?

So instead of writing

.element-class { color: black;}

I will potentially use { color: themeco-primary;}

Hi Alessandro,
Thanks for reaching out.

Color option for Buttons at Theme Options > Buttons set the styles to a class named x-btn, you can replicate the style into any custom button by adding that class into it.

Hope it helps.