Color picker for Text and CSS

I’d like to know how to go about adding a color picker for NEOS to change the color of text and of some CSS styles that I have in NEOS.

Thanks,
Chad.

1 Like

You can implement your own inspector editor to add a color picker there and select one color for an element.

See http://neos.readthedocs.io/en/stable/ExtendingNeos/CustomEditors.html

What is not really easily possible is adding a color picker to the inline editor.

2 Likes

Hey Christian, thanks for your response, essentially I am trying to add a color picker for the bar that has ’ Editio exlclusiv’ as seen below here.

That should be easily possible with the above mentioned approach. Ideally share the colorpicker editor you created afterwards :slight_smile:

1 Like

Hey Christian, sorry for the late response. But I opted to create some custom CSS classes with a different background-color options and then used Typoscript to trigger them based on a Selectorbox property. Hope this helps anyone in a similar situation.