[Issue with Solution] “Clip to Text” in Harakiri extension doesn’t work
-
VERSION: 2.0.0 EXTENSION: Harakiri FEATURE: Background Clip: Clip To Text
I just noticed that it doesn’t clip gradient to text. Then I watched your Gradient Text in Elementor PRO video and looked at the plugin code. /assets/js/harakiri-min.js and /assets/js/harakiri.js.
It appears that the
-webkit-background-clip
property is missing in code.So, I added following lines of code after line #45 and #53 respectively (inside updateCSS function) in harakiri.js:
.css( '-webkit-background-clip', 'text' ) .css( '-webkit-background-clip', 'unset' )
(of course, the change should be made in harakiri-min.js file as well). Once I did this, it started to work fine.
I hope you could release a minor update for this.
- The topic ‘[Issue with Solution] “Clip to Text” in Harakiri extension doesn’t work’ is closed to new replies.