I've tried quite a few options for how to add custom palette colors via the Advanced tab of a Color Picker field, but none of them are working. It discusses how to set the color palettes here: https://docs.metabox.io/fields/color/. But, that's for coding it directly. Can I do the same through adding an option under the Advanced tab of the color picker?
That works perfectly, thank you.
Is it possible to do the same with the Background field in some way?
background has not supported the setting
palettes like the field
color yet. I'm going to create a feature request for the developer team to support this.
could you please reupload the screenshots? They don't work any more.
Where do I enter the palette-values? Under "Color picker options" or under "Advanced / Custom settings"? Will the key be "js_options" or "palettes"?
The key is
palettes in the Builder, here is the screenshot https://imgur.com/P6EfPVG
Thank you, Long.
I entered the values as shown but the palette is not changing. Does it maybe not work with multiple color pickers in the same block/field group?
Can you please share the code that creates the field? And some screenshots of how it displays on your site?
here is a screenshot of the color picker I test on:
I set like 12 colours in this group.
And here I am looking for the color palette. The first three colours should be Red, Black, Red. But it is the same palette as in every other color picker.
And here is the group field export:
Thanks for your support.
I got it. In the builder, you should use the double quote instead of the single quote. Like this
Thank you Long!