The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

SCEditor's width in phpbb2

View previous topic View next topic Go down

SCEditor's width in phpbb2

Post by Judeau on December 9th 2016, 11:22 pm

Is there any code to change SCEditor's default width in phpbb2?


Last edited by Judeau on December 10th 2016, 12:12 am; edited 2 times in total
avatar
Judeau
New Member

Male Posts : 15
Reputation : 1
Language : Polish

http://kitsunemoon.forumpolish.com/

Back to top Go down

Re: SCEditor's width in phpbb2

Post by Draxion on December 9th 2016, 11:29 pm

Hi there, yes there is. Simply add this to your CSS and change the '500px' to you see fit.

Code:
.sceditor-container {
  width: 500px !important;
}
avatar
Draxion
Helper
Helper

Male Posts : 855
Reputation : 123
Language : English
Location : USA

http://dawnofthedragons.forumotion.com/

Back to top Go down

Re: SCEditor's width in phpbb2

Post by Judeau on December 9th 2016, 11:30 pm

Works. Thank you
avatar
Judeau
New Member

Male Posts : 15
Reputation : 1
Language : Polish

http://kitsunemoon.forumpolish.com/

Back to top Go down

Re: SCEditor's width in phpbb2

Post by Draxion on December 9th 2016, 11:33 pm

You're very welcome.

Have a good evening!
avatar
Draxion
Helper
Helper

Male Posts : 855
Reputation : 123
Language : English
Location : USA

http://dawnofthedragons.forumotion.com/

Back to top Go down

Re: SCEditor's width in phpbb2

Post by Judeau on December 10th 2016, 12:14 am

Also, could it be possible to define SCEditor's width in quick reply without affecting the SCEditor which we got in 'Preview'?
avatar
Judeau
New Member

Male Posts : 15
Reputation : 1
Language : Polish

http://kitsunemoon.forumpolish.com/

Back to top Go down

Re: SCEditor's width in phpbb2

Post by Draxion on December 10th 2016, 12:17 am

Yes, but that would require modifying the templates.

If that is what you want to do, I need the template 'viewtopic_body' and the size you want it.
avatar
Draxion
Helper
Helper

Male Posts : 855
Reputation : 123
Language : English
Location : USA

http://dawnofthedragons.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum