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

0
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
0
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

0
The Ultimate Tool Kit for Technolgy Solution Provi

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 for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

IsaacSharePoint Client Side DeveloperAuthor Commented:
That did nothing either.  It's weird. That should have worked.
0
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

0
Randy DownsOWNERCommented:
This is the css file being invoked

corev15.css
0
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.
0
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

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
IsaacSharePoint Client Side DeveloperAuthor Commented:
No luck.  I think it's a SharePoint issue.
0
Randy DownsOWNERCommented:
Can you assign a different class to your posts?
0
Randy DownsOWNERCommented:
Maybe you can get someone with access to the server to make the change for you.
corev15.css
0
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.
0
Randy DownsOWNERCommented:
Then add another css style to the page for your page should work.
0
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!
0
Randy DownsOWNERCommented:
There was a solution. You just don't have access to the files.
0
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.