How to remove WYSIWYG centering?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
jbx1
Forum Members
Forum Members
Posts: 17
Joined: Mon Apr 05, 2010 12:15 am

How to remove WYSIWYG centering?

Post by jbx1 »

I have just installed CMSMS and I am putting in my html template and all seems OK. I have a

Code: Select all

<div>
which through CSS I have put

Code: Select all

text-align: left;
amongst some other styling stuff and I put the

Code: Select all

{content}
tag in.

All this works well, on the website. However for some reason the WYSIWYG editor is thinking that the div's text alignment is centred. I simply refuses to left align even when I press the left alignment button. When I submit the content it appears just fine, it is the WYSIWYG editor part that I need to fix.

I need to fix this because my users will be confused having everything centred. From where does the WYSIWYG editor deduce this?

Thanks.
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: How to remove WYSIWYG centering?

Post by Jos »

If you go to Extensions » TinyMCE WYSIWYG tab Advanced, you should be able to set the text-align:left; in the "Body tag CSS" field
Post Reply

Return to “CMSMS Core”