29 votes

Using custom CSS variables as values in Kadence blocks

Can we please get the option to add any value or a CSS variable as input for Kadence blocks? For example, currently, the Advanced text block has the option to accept px, em, rem and vw. I'd like to have the option to define and enter my own variables and use them when I choose the option "Set custom size", instead of overriding Kadence's sm, md, lg, xl, 2xl and 3xl.
Vojkan Cvijanovic shared this idea

One Comment

  1. If its possible to save the variable and not the variable value – this is a game changer as it prevents all the blocks being hard coded with values that are set up for one theme design only – the biggest drawback with Blocks IMO.

Leave a Reply