Home Forums ACF PRO Wysiwyg editor height is too tall Reply To: Wysiwyg editor height is too tall

  • Hi @jari-pennanen

    Thanks for the post.

    It is possible to modify the dimensions of the WYSIWYG editor by hooking into the acf/input/admin_head action and passing some new styles.

    Please have a look at this example:

    add_action('acf/input/admin_head', 'lh_acf_admin_head'); 
    function lh_acf_admin_head() {
            <style type="text/css">
            .acf-field-5639b8dd6170b .acf-editor-wrap iframe {
                height: 150px !important;
                min-height: 150px;
            .acf-field-5639b8dd6170b .acf-editor-wrap .mce-fullscreen iframe{
                height: 700px !important;
                min-height: 700px;