• Resolved Rufus McDufus

    (@rufus-mcdufus)


    Hi – I’m finding the edit textarea is only 1 char high despite it being set to initial 45 cols by 8 rows in the textarea tag. This is with the Mantra theme. It’s the same on Firefox/Chrome/IE11 on Windows 7. FF/Chrome give a resize tab, IE11 just gives a vertical scrollbar.
    It’s curious because in the ‘add a comment’ section I can see the Comment textarea is also specified 45×8 but that displays correctly and the code appears to be the same, which make me think it’s not Mantra?

    https://www.ads-software.com/plugins/simple-comment-editing/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Ronald Huereca

    (@ronalfy)

    Hi,

    Can you provide me a test post that I can test some comments so that I can try to rule out any plugin conflicts?

    I’ll also try out Mantra. I’m assuming this is the correct link? https://www.ads-software.com/themes/mantra

    Thanks,

    Ronald

    Thread Starter Rufus McDufus

    (@rufus-mcdufus)

    Hi Ronald – sorry for the delay, yes that’s the right theme. I’ve set up a test site here – https://tinyurl.com/jwwvkfl (tinyurl-ified out of paranoia more than anything) – WordPress 2.9.2 and Mantra 2.3.4, nothing else, no plugins. I can give you a wp-login on that if you like.
    Thanks!

    Plugin Author Ronald Huereca

    (@ronalfy)

    Rufus,

    I found the problem. The theme is setting the default textareas too small, but when it comes to the comment textarea, it’s setting it at a width of 80%.

    You can fix it by adding this to the end of the theme’s stylesheet.

    textarea.sce-comment-text {
    	width: 80%;
    	height: auto;
    }

    Since you will want to upgrade the theme, you will end up losing this style fix when you upgrade it.

    I’ve coded a little plugin that you can activate without worrying about losing the style changes upon a theme upgrade.

    I have the download here: https://simple-comment-editing.s3.amazonaws.com/sce-mantra-fix.zip

    If this has helped you, please consider leaving a rating/review. Take care!

    Ronald

    Plugin Author Ronald Huereca

    (@ronalfy)

    For those wanting to look at the code before downloading this fix, it’s available on Pastebin: https://pastebin.com/wAPfA5CG

    Thread Starter Rufus McDufus

    (@rufus-mcdufus)

    Ronald – this is absolutely fantastic! I’ll give it a go now. Thank you so much!

    Thread Starter Rufus McDufus

    (@rufus-mcdufus)

    Yep – works perfectly. I was lazy and just used the plugin. Many thanks again!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘textarea size’ is closed to new replies.