How do I change the colors of the custom dashboard code?

The red is really hard to see on the black.

Thank you!

Hi Rene,

Please try with the following:

.mainwp-ui .cm-s-erlang-dark span.cm-error { color: #7fb100 !important; }

Of course, change the #7fb100 with any color you want.

1 Like

So if the red means error (cm-error), why are things starting with # shown as errors?

Hi Rene,

Actually, the Custom Dashboard and our Code Snippets extensions use the CodeMirror PHP library for styling the code editor and this behavior is the default for this code library.

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.