Home Forums General Issues Iris color picker


Iris color picker

  • Hi!

    I’m using the color picker with ACF to let a client choose a background color on a few elements of a website. However, I don’t like the fact that they can freely pick any color.. So I was wondering if it was possible to hide the color picker and only let them choose colors from the palette I have set up for them?

  • This isn’t an exact answer, but if it’s only a few colors, why not just define the color options in either a select box, or using radio buttons? I’ve had a similar case in the past with a client where I only wanted them to choose from about 5 colors and simply did it with radio buttons. If necessary you could always toss in some custom CSS for them as well to put a little swatch of color before the label.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.