Alignment Center problem on Big 100 themes

Hello,

I noticed that the Big 100 themes have a problem with the “Alignment Center” command on WPMU 2.5 and 2.6. When I upload an image and select Alignment, Center it produces the following codd:

<img class=”aligncenter size-medium wp-image-47″ title=”wiki_ed” src=”http://blogs.bgsu.edu/testblog/files/2008/11/wiki_ed.jpg&#8221; alt=”” />‘

The image appears correctly centered in the visual editor, but upon viewing the published post, it aligns the image left instead of center.

I found this post on the topic – http://mu.wordpress.org/forums/topic.php?id=9040 – and tried adding the code they suggested to the CSS, however, it didn’t work. The default MU theme works correctly, however the Big 100 themes do not. Do you have any ideas? Is there some CSS code I need to add to the themes? Here is an example from my blog site – http://blogs.bgsu.edu/testblog/2008/11/03/test-image-center/

Thanks for your help. You guys do a great job!

Terence

  • Ovidiu
    • Code Wrangler

    if you add the css code in the post you linked here it should work. the problem is that the body’s text-align:center; is being overriden by #wrapper’s text-align: left;

    There is no special css declaration in your theme to handle aligncenter. so add that code and give me another link to see what you did.

  • drmike
    • DEV MAN’s Mascot

    Agreed. I don’t see what the aligncenter css code has been added to the theme. It’s not in the theme’s css file and it’s not anywhere in the header.

    We just do a sitewide css file and load it via a wp_head() call. That way you don’t have to edit each and every theme. We also combined all of the plugin css in there and removed it from the plugins. Plus you can make changes later on.

    I couldn’t pull up the example yesterday. Sorry that I didn’t get back to you.