Change font of Source Code editor in MicroTiny Topic is solved

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
rooon
Forum Members
Forum Members
Posts: 113
Joined: Mon Dec 05, 2011 4:40 pm

Change font of Source Code editor in MicroTiny

Post by rooon »

Hi all,

The font of the Source Code editor in MicroTiny is not monospace. I want to change this.
In the past I did this in the style.css of the Admin theme like this

Code: Select all

.mce-container-body textarea.mce-textbox.mce-multiline,
textarea.mce-textbox.mce-multiline {
    font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
But I understand that it is better to do such things throught the assets folder.
I copied style.css of the admin theme in assets/admin_custom/themes/OneEleven/css/ but for some reason this is not working.

My questioni: how to change the admin css throught the assets folder?
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1825
Joined: Wed Feb 25, 2009 4:25 am

Re: Change font of Source Code editor in MicroTiny

Post by DIGI3 »

I think the admin_custom is of limited use at the moment - I could be wrong, but I seem to recall it was in preparation for more robust use in future versions.

If you can't make it work, you could try the ext_css method outlined here: https://cmscanbesimple.org/blog/customi ... king-files
Not getting the answer you need? CMSMS support options
rooon
Forum Members
Forum Members
Posts: 113
Joined: Mon Dec 05, 2011 4:40 pm

[SOLVED] Change font of Source Code editor in MicroTiny

Post by rooon »

Great!! A simple nice way without peek & poke to change a few style properties. Thanx ;)
Post Reply

Return to “Modules/Add-Ons”