How to make post wall resizable when user press enter just like greenbygree

Sepiroth X Posted in Theme Development 4 years ago

Hello, pls someone at least give an answer.

Noob question:

Can someone tell me how to make goBlue wall post expand when user enters too much txt line? I notice greenbygreen does it by adding new line when enter key pressed. Can someone pls tell me how?

Thanks for the help.

Replies
ph Sepiroth X Replied 4 years ago

@Kevin B , thanks sir, I'm studying now for it :D

ph Sepiroth X Replied 4 years ago

Thank you Sir @Arsalan Shah, I will do further research and study for it. :)

Indonesian Arsalan Shah Replied 4 years ago

As Kevin mentioned it will require a JS and CSS knowledge , you should see https://stackoverflow.com/questions/2948230/auto-expand-a-textarea-using-jquery

gb Kevin B Replied 4 years ago

You can do it with CSS. This is a HUGE can of worms though - so if you aren't already comfortable with CSS styling I would suggest do a lot of research and learn how it works - or don't make modifications to the layout / styles.

There are loads of really great resources (stackoverflow, wwwschools etc) that can give you all the answers you need :)