How to add custom gradients
-
I am trying to add my own custom gradients in the child theme but they don’t work.
add_theme_support( 'editor-gradient-presets', [ [ 'name' => 'Light blue to green', 'gradient' => 'linear-gradient(120deg, rgba(236,242,251,1) 0%, rgba(236,242,251,1) 30%, rgba(239,250,225,1) 100%)', 'slug' => 'own-light-blue-to-green', ], ] );
Is there a special filter like “blocksy:editor-color-palette” ?
Thank you
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘How to add custom gradients’ is closed to new replies.