Thursday, September 22, 2022
The Great Tit
Updated: 22. 9. 2022, Added: 22. 9. 2022

Disable Gutenberg gradient picker

If you want to disable gradient picker in Gutenberg editor in WordPress, add this code to your functions.php or custom plugin or code snippets plugin like Advanced scripts. You may also need to change default Gutenberg colors.

/*Disable gradients*/
add_theme_support('editor-gradient-presets', []);
add_theme_support('disable-custom-gradients', true);
Did I help you? Fuel our WordPress journey
Beep this article to your friends!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram