• Resolved Jaya

    (@moyajaya)


    I’ve been using this awesome plugin for a while. The last time I updated it I noticed that the text has gone smaller a little in the editing box and I was wondering if there is a way to make it larger by default?

    Thank you in advance and have a great day!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author scribu

    (@scribu)

    This is a side-effect of the fact that the new editor puts the content in an iframe, thus resetting all the default styles.

    To alter the default font, install the development version (1.9.3.1-alpha) and add the following code to your theme’s functions.php:

    function fee_cleditor_css() {
    	return "font-size: 12px; font-family: Verdana";
    }
    add_filter( 'fee_cleditor_css', 'fee_cleditor_css' );

    In general, you can add any CSS property there.

    Thread Starter Jaya

    (@moyajaya)

    Thank you very much. Appreciate the help! I’ll try what you suggested and let you know how it goes!

    Have a wonderful day!

    Plugin Author scribu

    (@scribu)

    I didn’t expect you would reply so quickly. You will have to wait about 15 minutes for the dev version to get refreshed, as I just updated it now.

    Thread Starter Jaya

    (@moyajaya)

    Oh no problem. I’ll do that. Thank you again!

    Thread Starter Jaya

    (@moyajaya)

    Not sure what I’m doing wrong but i’ve installed the alpha version and added the code to the functions.php file like suggested without success. I did change the font size many times to a higher value and the result is the same. Any other ideas?

    Thank you!

    Plugin Author scribu

    (@scribu)

    Ah, I forgot to re-compress the script.

    Re-download the development version (after 15 minutes) and it should work.

    Thread Starter Jaya

    (@moyajaya)

    That worked!

    Appreciate the help and support! Thank you again!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Front-end Editor] Is it possible to make default font size bigger?’ is closed to new replies.