Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Well like it says - I edit a Page, I want to use bold or italics, or colours. Or I want to add a break so that text appears on different lines, but whatever I do - when I save the page and view it Alla the formatting is gone and the text all appears on the same line.

If I click the 'visual' tab it looks just as I'd like it, but not when I view the web site.

Would a style sheet override my formatting..?

Any help would be greatly appreciated!

Tony.

share|improve this question
    
When switching from visual to html you need to save before the switch. Both are in the same place, but don't know anything about each other. –  kaiser Jun 26 '11 at 22:54
    
apart from @kaiser's comment it can also be a stylesheet issue –  Piet Jun 27 '11 at 1:41
add comment

1 Answer

There are a few things that could cause the issue, or I should say a combination of things. With the formatting problems, you might have the "!important css" declaration overriding your CSS from the page/post editor.

Here is an example:

.post {
      font-family:Verdana, sans-serif;
      font-size:14px !important;
}

Or I want to add a break so that text appears on different lines

This could be a few issues, the best way to correct it is to use the plug-in TinyMce Advanced

Install the plugin, then go to Appearance>TinyMce, in the options that appear towards the bottom of the screen select the check-box that says Stop removing p tags. You can also check the box that says import editor style. If your theme has a specific file for the editor it will be used, if not it will try to emulate the css of your theme automatically.

See the image for the TinyMce Settings: TinyMce Advanced Settings Screenshot

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.