- This topic has 0 replies, 1 voice, and was last updated 1 year, 7 months ago by .
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I've quickly become a huge fan of Navigation Pro, but I need a bit of assistance modifying the colour palette. I'd put in a ticket and they recommended I come here.
Goal: Implement design/brand colours as the editor's palette; disable custom colour selector
add_theme_support( 'editor-color-palette', array( and
add_theme_support( 'disable-custom-colors' ); do not work with this theme
Since Navigation Pro is Gutenberg Optimized, my normal snippet for creating a custom palette and disabling the custom colour option in
functions.php doesn't work.
I know how to add additional colour selection options to the Customizer via the Navigation Pro files but my issue seems to be figuring out how to connect those colours to the palette AND disable the custom colour selector without upsetting the editor. If anyone could point me in the correct direction, that'd be awesome! I don't even necesarilly need to be able to control it from the Customizer, back-end only is fine.
If additional details are necesarry, I'd be happy to provide them or paste the text from my original support ticket which provides the snippet I usually use to control the editor palette and a description of what happens when I try to implement it in Navigation Pro.
© 2022 WPEngine, Inc.