Home Forums Plugin Support WP User Frontend Pro Rich Textarea Height

This topic is: resolved

This topic contains 5 replies, has 2 voices, and was last updated by  Oritro Ahmed 5 years, 1 month ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #17756

    Avani
    Member
    Post count: 2

    I'm using rich textarea for a frontend content form. How much ever rows I set in textarea rows, ain't reflected back on the site.

    If I look into the source I can find a height is being set by the plugin and doesn't use the cols parameter. In case of normal textarea the cols param works flawlessly.

    source :
    <textarea class="required wp-editor-area" style="height: 100px" cols="40" name="post_content" id="post_content"></textarea>

    You can check the form live in action here.

    How do I increase the height of the rich textarea?

    #17789

    Oritro Ahmed
    Spectator
    Post count: 155

    There is a Possible fix, Through CSS. I checked the from in live on your site. You can just patch it using a little CSS Code.


    #post_content_ifr {
    width: 100%;
    height: 138px !important;
    display: block;
    }

    Now here, You have to change the height Property According to your need. Then Paste the CSS code in the END of your theme css. It should solve your problem.

    If its still not working, Please let us know.

    #17795

    Avani
    Member
    Post count: 2

    First of all, I can't find post_content_ifr div id anywhere in the source.

    I tried the following code and it ain't working. Any other thoughts on this?

    #post_content{
            width: 100%;
            min-height: 238px!important;
            display: block;
    }

    If I'm to update the core files, that won't be an issue for me as even after any update, I can do the same thing to get it back working.

    #17807

    Oritro Ahmed
    Spectator
    Post count: 155

    Well,

    1st, You can't find the Code Directly from the Source. Its generated by the Rich Text Editor. Take a Look. You can see the ID in both Developer tool and Browser Window.

    2nd, I see, You applied the code to a wrong ID. It precisely have to be #post_content_ifr ID.

    3rd, Even if that doesn't work, You can update the core file, Yet that is not recommended in any case.

    Please let us know if you still have a Question.

    #17843

    Avani
    Member
    Post count: 2

    Oops! My bad! Fixed it.

    Thanks again!

    #17873

    Oritro Ahmed
    Spectator
    Post count: 155

    You are welcome.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Rich Textarea Height’ is closed to new replies.