Add Numbers to Increase value inside Curly Braces

by Liton Arefin   Last Updated September 11, 2019 19:08 PM

I'm working on Elementor Widget Development. I'm struggling for increasing a value inside Curly braces.
Here's the source code -
'selectors' => [ '{{WRAPPER}} .selector-class' => 'width: {{SIZE}}{{UNIT}};' ]

.elementor .selector-class{ width: 100px; }

I need to Increase it like few pixels like additional 40px. So, I need the output like -

.elementor .selector-class{ width: 140px; }

NOTE: I've multiple Selectors. So, I need few more selectors. I can manage it. I need a solution for this one.

Related Questions

daily cost changing plugin

Updated September 30, 2018 14:08 PM

how to make wordpress remember my choice

Updated September 01, 2017 17:08 PM