Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Forum Module /

Discuss the Forum Module.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Resizing the Post Content Area


Go to End


2 Posts   1229 Views

Avatar
The One Guy

Community Member, 4 Posts

27 October 2010 at 4:02am

On my site, I've recently modified some code to replace the standard TextareaField for the post content when adding/editing a forum post with a WYSIWYG editor I've found. I have everything working, but the editor shows up in a small little box rather than stretching out to the sides like it does with a TextareaField. After some experimenting, I've found that when replacing the code in the TextareaField class with that of my own class, it stretches nicely, but I don't want to the editor to show up everywhere that uses a TextareaField. Is there any way to get my custom class to stretch to the sides on its own?

Avatar
The One Guy

Community Member, 4 Posts

27 October 2010 at 5:16am

Never mind, I solved the problem on my own. For those who are curious, the controls are in the "FORMS" section of \forum\css\Forum.css.