• kristapley

    (@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)
  • iridiax

    (@iridiax)

    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

    rrbest

    (@rrbest)

    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

    Thread Starter kristapley

    (@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.

    iridiax

    (@iridiax)

    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.

    Thread Starter kristapley

    (@kristapley)

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

    Thread Starter kristapley

    (@kristapley)

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

    Thread Starter kristapley

    (@kristapley)

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

    Geminianeyes

    (@geminianeyes)

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

    Thread Starter kristapley

    (@kristapley)

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

    Thread Starter kristapley

    (@kristapley)

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

    iridiax

    (@iridiax)

    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

    (@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?

    Thread Starter kristapley

    (@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.