SharePoint 2013 blog modal popup

Hi All,

I have a blog that I'm working on.  I need to be able to center the contents in the modal.  The content is left aligned and I can't figure out how to get it centered.  When you go into the link below, click on one of the blog posts to see what I'm trying to describe.

http://www.isogunro.com/default.aspx

Thanks for any help/suggestions/comments.
LVL 5
IsaacSharePoint Client Side DeveloperAsked:
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.

Randy DownsOWNERCommented:
It looks like it's using this.

You might try this:

#ms-blog-postBody p {
   margin:auto;
}

Open in new window

IsaacSharePoint Client Side DeveloperAuthor Commented:
That did not work.  I applied it to the following page which is what appears in the modal.

http://www.isogunro.com/Lists/Posts/Post.aspx
Randy DownsOWNERCommented:
It looks like your posts are in here:
.ms-blog-MainArea

Open in new window


Try this

.ms-blog-MainArea{
margin : auto;
}

Open in new window

Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

IsaacSharePoint Client Side DeveloperAuthor Commented:
That did nothing either.  It's weird. That should have worked.
Randy DownsOWNERCommented:
I don't see margin in the css for .ms-blog-MainArea


.ms-blog-MainArea {
    min-width: 560px;
    max-width: 860px;
    width: 100%;
    display: block;
}

Open in new window

Randy DownsOWNERCommented:
This is the css file being invoked

corev15.css
IsaacSharePoint Client Side DeveloperAuthor Commented:
I don't have access to that file.  It's on the server so I will have to override it.
Randy DownsOWNERCommented:
You could try this

.ms-blog-MainArea {
    min-width: 560px;
    max-width: 860px;
    width: 100%;
    display: block;
    margin : auto  !important;
   ;
}

Open in new window

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
IsaacSharePoint Client Side DeveloperAuthor Commented:
No luck.  I think it's a SharePoint issue.
Randy DownsOWNERCommented:
Can you assign a different class to your posts?
Randy DownsOWNERCommented:
Maybe you can get someone with access to the server to make the change for you.
corev15.css
IsaacSharePoint Client Side DeveloperAuthor Commented:
I'm with a hosting company and they won't do it.  Besides Microsoft recommends that tampering with their core css file because it can break something somewhere else.
Randy DownsOWNERCommented:
Then add another css style to the page for your page should work.
IsaacSharePoint Client Side DeveloperAuthor Commented:
I've requested that this question be deleted for the following reason:

I wish to close bc no solution was found.  Thanks!
Randy DownsOWNERCommented:
There was a solution. You just don't have access to the files.
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
Microsoft SharePoint

From novice to tech pro — start learning today.