![]() |
|
Cannot Change Font Color - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Cannot Change Font Color (/thread-13885.html) |
Cannot Change Font Color - lai - 21-11-2023 Sorry if this has been asked before. Have really searched but couldn't find any info on it. How can we change the font color in the Gallery Description or in ZenPage for that matter? Have tried with the style=color red tag within a paragraph. Tried using TinyMCE 4.x. All the editing options are there - just no font color changing option. Any ideas how to do it correctly? Cannot Change Font Color - acrylian - 21-11-2023
You did add this correctly like this?
That should actually work with or without TinyMCE. But besides that indeed even the full configuration does not include the color option. We'll add it there with the next update. It was probably not added because usually the theme controls the general colors via CSS. But you can create your own TinyMCE configuration file: https://www.zenphoto.org/news/how-to-create-custom-tinymce-configurations/ Cannot Change Font Color - lai - 21-11-2023 Yes, added the code exactly like that. Will result in the 403 error. Trying to look into the TinyMCE config file, but doubt it will work because doing it in TinyMCE's 'source code' option gives the same error. Cannot Change Font Color - acrylian - 21-11-2023
Well, you have to do it in the source code view in any case. Otherwise TinyMCE treats it as text. I just tried it on our own site and had no problems with inline CSS. If you get errors on saving there is something else really wrong on your install. Review the debuglog. And anyways, next version will have font color in the full config file variant. Cannot Change Font Color - lai - 22-11-2023 Many thanks acrylian. Looking forward to the next version. Cannot Change Font Color - acrylian - 22-11-2023 Ah, yes, modsecurity and its config especifially is notorious for causing unwanted/unnecessary trouble. Glad it worked out! |