Skip to:
Content
Pages
Categories
Search
Top
Bottom

TOPIC FORM RE-SIZE


  • jbboro3
    Participant

    @jbboro3

    Hi,

    I’ve been trying to reduce the height of topic form (Tinymce) which stands at default 236px height.. I want to reduced them upto 100px.. I have searched all over, seems there is no shortcut solutions.. Can you please point me the file where I can edit that value.. For temporary period, I can touch or change the core files, if needed.

    I’m unable to locate the file.. Even not sure if those values comes from wordpress tinymce files under/includes/tinymce or it’s set in within bbpress..

    Thank you so much…

Viewing 2 replies - 1 through 2 (of 2 total)

  • hellojesse
    Participant

    @egyptimhotep

    PATH: includes/class-wp-editor.php

    Line 74: elseif ( $set[‘editor_height’] > 5000 )
    Line 75: $set[‘editor_height’] = 5000;

    if you change the last 5000 on line 75 to a smaller number – say 300 or whatever you prefer – then save the file, the ginormous box will re-size to that height.

    Good Luck


    jbboro3
    Participant

    @jbboro3

    @egyptimhotep, Thanks for the response.

    Unfortunately, it’s not working. It’s very difficult to find the location as it’s set in index files.. The chrome inspection doesn’t points the index or php files either..

    Anybody would like to help me?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar