📰
WordPress Basics | UWM Post
  • Introduction
  • Accessing the News Site
    • Accessing UWM Post
    • Logging in to UWM Post
    • Resetting Your Password
    • Switching from Dashboard to Live Site
  • Working with Text and Links
    • Creating a Post
    • Adding Categories and Tags
    • Working with Content in the Visual Editor
    • Working with Content in the Text Editor
    • Creating a Link
    • Editing a Link
    • Editing the URL of a Post
  • Working with Media
    • Working with a Style Guide
    • Adding an Image to a Post
    • Wrapping Text Around an Image
    • Changing the Size of an Image
    • Adding a Caption to an Image, MP3, or Video
    • Adding Alt Text to an Image
    • Removing an Image from a Post
    • Setting a Featured Image
    • Adding an MP3 to a Post
    • Removing an MP3 from a Post
    • Adding a Video to a Post
    • Removing a Video from a Post
    • Adding a PDF to a Post
    • Removing a PDF from a Post
    • Adding a Horizontal Line to a Post
    • Removing a Horizontal Line from a Post
    • Adding an Image with MP3 to a Post
  • Administrator Actions
    • Working with Roles and Adding Users
    • Publishing a Pending Post
  • Troubleshooting
    • Unable to Log Into News Site
    • Post has Weird Formatting or Spacing
    • Text and Images are Totally Misaligned
    • Featured Image is Wrong or Upside Down on Social Media
Powered by GitBook
On this page

Was this helpful?

  1. Troubleshooting

Post has Weird Formatting or Spacing

If your post has weird formatting (text is a different size, color, etc. than you intended) or the spacing between paragraphs and images looks weird, you may have unwanted HTML in your post.

Even though you didn't add this HTML on purpose, you'll see it in your post when you switch to the Text editor.

The problematic HTML will look something like this:

<div class="styled-paragraph">Here is some example text within a div. The div came along for the ride when this text was copied from a Google Doc, D2L, or a website.</div>

HTML often comes along for the ride when you copy text from a source that appears in a browser. This includes Google Docs, D2L--basically, just about every website on the internet.

The HTML may inlcude tags that match CSS selectors in your site's style.css file (the file that controls the look of your site.) This is what causes the weird formatting and/or spacing in your post.

Fixing Weird Formatting and/or Spacing

These instructions will require you to add media (images, MP3s, etc.) to your post again.

  1. In the Visual editor, select all of the content in your post. Note: You can click within the editor and press Command A (on keyboard) to select everything in the editor.

  2. Copy the selected content.

  3. With the content selected, press Delete (on keyboard) to delete the content of your post.

  4. In the Visual editor toolbar, make sure the Toggle Toolbar button is selected. (You should see two rows of tools in the toolbar.)

  5. Click the Paste as Text button in the Visual editor toolbar. Note: A warning box may appear. You can close this box.

  6. Paste your copied text back into the Visual editor.

  7. Add your media back into your post.

  8. When finished, click Submit for Review or Publish.

PreviousUnable to Log Into News SiteNextText and Images are Totally Misaligned

Last updated 5 years ago

Was this helpful?