Wordpress image aligncenter issue

I have a test site here and I am trying to align the image to the center.  I am using the latest version of Wordpress.  In the Visual editor it looks perfect but live it's not centering.  In the editor I am clicking on the image and in Image Details > Display Settings I simply click Align Center.  Do I need to alter something in my css.  I have tried this method but it is not working.
livewirewebsolutionsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Joshua GrantomSenior Systems AdministratorCommented:
this site is setup for members only so we cannot see the content of your post.
0
livewirewebsolutionsAuthor Commented:
sorry, try this post
0
Joshua GrantomSenior Systems AdministratorCommented:
in the visual editor change to HTML mode and add a <p style="text-align:center;"></p> around the image and link. It will look like this.

<p style="text-align:center;"><a href="http://curl.livewiire.com/wp-content/uploads/2014/05/curl4-e1407801100972.jpg"><img class="aligncenter size-medium wp-image-1168" src="http://curl.livewiire.com/wp-content/uploads/2014/05/curl4-300x200.jpg" alt="curl4" height="200" width="300"></a></p>

Open in new window


make sure it is only wrapped in one <p></p> tag
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

livewirewebsolutionsAuthor Commented:
yes, but my client is doing this with the site.  he won't understand the coding.  Any other fixes?
0
Joshua GrantomSenior Systems AdministratorCommented:
yea, highlight the image and hit the align center for paragraph, should do the same thing
0
livewirewebsolutionsAuthor Commented:
I tried that and it hasn't worked.
0
livewirewebsolutionsAuthor Commented:
can anyone help me with this please.  It can't be that difficult.
0
Hube02Commented:
In order for the styles applied for alignment in the WYSIWYG editor to apply to the font-end your CSS style sheet must contain the correct selectors.

These selectors are standard and required for a theme to be approved for inclusion in the WP repo. A list of the WP generated classes can be found here: http://codex.wordpress.org/CSS
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.