WordPress.org

Support

Support » How-To and Troubleshooting » Why can’t I center things in WP 2.7.1?

Why can’t I center things in WP 2.7.1?

  • kristapley
    Member

    @kristapley

    I recently updated to WordPress 2.7.1 and for some reason I can’t center anything by clicking the center icon in the wysiwyg. I can’t find a proper solution in the forums.

Viewing 13 replies - 1 through 13 (of 13 total)
  • What theme are you using? It may be out of date and need updated css added to its style.css:

    http://codex.wordpress.org/CSS#Wordpress_Generated_Classes

    I also would like to solve this problem, iridiax, your solution wasn’t too clear as to what I’m supposed to do with that .css file

    kristapley
    Member

    @kristapley

    I’m using Cutline 3. Here’s the site:

    http://www.incontention.com

    Can’t figure this out. I tried altering the css but it seems that doesn’t work.

    rrbest: Older themes lack some of the css needed by newer versions of WordPress for image and caption alignment. Copy the css from the WordPress_Generated_Classes and paste it into your theme’s style.css file.

    kristapley: I couldn’t find class=”aligncenter” anywhere in your front page source code, but I did see class=”alignnone” for your images.

    kristapley
    Member

    @kristapley

    So what should I do? Add class=”aligncenter”?

    kristapley
    Member

    @kristapley

    I added the code listed in your link and still can’t align images. This makes NO sense whatsoever.

    kristapley
    Member

    @kristapley

    ANYONE?? Any of the WP support people want to chime in or something. This is unbelievably silly.

    Geminianeyes
    Member

    @geminianeyes

    I usually just write <center>in the html code.

    kristapley
    Member

    @kristapley

    Kind of a band aid, no? Again, nothing from the WordPress support team?

    kristapley
    Member

    @kristapley

    And putting the tag doesn’t work either by the way.

    Switch to the default theme and see if it works then. If it does, then it’s a problem with your other theme. If it doesn’t, then temporarily disable all plugins and see if it works then. If it does, then it’s a problem with one of your plugins.

    sittingboo
    Member

    @sittingboo

    Experiencing the similar issue after upgrading to 2.7.1 yesterday. However, while I (using IE 7) can align text & images when posting, my colleague cannot. He’s also using IE 7.

    When examining the HTML code of his post, it shows align=”aligncenter” – and displays centered on the WYSIWYG screen.

    Any thoughts on how/why 2 users of the same blog are getting different alignment results?

    kristapley
    Member

    @kristapley

    Bump? Any help on this?

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Why can’t I center things in WP 2.7.1?’ is closed to new replies.