Need help? Check out our Support site, then


Enough Already! Stop screwing up my formatting EVERY time I save a post!

  1. Ok, seriously, this is starting to become really really annoying. Every time I save or update a post - BAM - all paragraph and indent formatting is instantly messed up. This happened before and was reported as a bug, and was subsequently supposedly fixed... so what's going on? I just got back to working on my blog after a bit of a hiatus, and I'm a little out of the loop.

  2. This happens to me too, if I am using the visual editor. If I use the html editor it works fine.

  3. Yes, avoiding visual editor is the only walkaround. At last for now. I think it has something to do with stripping (hazardous?) css style tags and some difference must have appeared between what visual and text editor allows. Hope it'll be fixed. I advice to turn off visual editor in posting options until the problem is resolved.

  4. hi guys, I think you had better set a format for the paragraph in syle.css instead of in the HTML mode. As you've known, the <p> ... </p> in the code mode is always wiped out. To format the paragraph:

    1. Go find out where your theme places "<?php the_content(); ?>"

    For the sake of familiarity, I use the default theme for an example.

    --------------------------- INDEX.PHP STARTS HERE---------------------------------

    get_header(); ?>

    <div id="content" class="narrowcolumn">

    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

    <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
    <h2>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2>
    <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>

    <div class="entry">
    <?php the_content('Read the rest of this entry »'); ?>
    </div>

    <p class="postmetadata"><?php the_tags('Tags: ', ', ', '
    '); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
    </div>

    <?php endwhile; ?>

    <div class="navigation">
    <div class="alignleft"><?php next_posts_link('« Older Entries') ?></div>
    <div class="alignright"><?php previous_posts_link('Newer Entries »') ?></div>
    </div>

    <?php else : ?>

    <h2 class="center">Not Found</h2>
    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    <?php get_search_form(); ?>

    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    --------------------------- INDEX.PHP ENDS HERE---------------------------------

    2. Notice that "<?php the_content(); ?>" is placed inside <div id="content" class="narrowcolumn">
    and <div class="entry">

    3. So now open style.css and find ".entry"
    4. write:

    #content .narrowcolumn .entry p {
    margin-bottom: 18px;
    }

    It should work by now.

    Remember: your theme may put "<?php the_content(); ?>" somewhere else and may have in different <div>.

  5. That doesn't work at wordpress.com because we have no access to the underlying wordpress or theme files so we couldn't make the change even if we wanted to.

  6. Thanks thesacredpath. I just noticed you all use WordPress host, and then my info cannot be applied there.

  7. Not a problem, and thanks for your effort in trying to help.

  8. Hi again guys, I took a look on the theme editor on wordpress.com that I got as a user here. Kubrick is the default one I got, and I dropped some texts in the HTML code and separated the text into paragraph with keyboard "enter."

    The texts are separated by paragraph and seem O.K. (except the title and texts are formatted justified in text-aligned--I guest it's default too) And I went into the CSS editor and found this:

    "You can not edit the stylesheets of your theme. Your stylesheet will be loaded after the theme stylesheets, which means that your rules can take precedence and override the theme CSS rules. The Sandbox theme is recommended for those who would prefer to start from scratch."

    Well, you have to pay wordpress.com to be able to change CSS stylesheet!

    And from the Kubrick theme's stylesheet I found this:

    .widecolumn .entry p {
    font-size: 1.05em;
    }

    If you happen to have upgraded your theme and can update CSS stylesheet, it's save to say that you can still find ".entry p" in your stylesheet.

    So, if it's so, just add these two lines in it:

    text-align: left;
    margin-bottom: 18px;

    So, with Kubrick theme will be like this:

    .widecolumn .entry p {
    text-align: left;
    margin-bottom: 18px;
    font-size: 1.05em;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic