Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Suggested answer

How to center align the body of a Marketing Page?

Posted on by 545

When I create a Marketing page, the body content is all on the left side.  I'd like for the body content to be center aligned.  Thoughts on how to do this?  I need a semi generic method as I need to do this on all of my marketing pages.

  • Stephani Profile Picture
    Stephani 545 on at
    RE: How to center align the body of a Marketing Page?

    Unfortunately, I've tried these, too.  I've opened a ticket with MS.

  • Stephani Profile Picture
    Stephani 545 on at
    RE: How to center align the body of a Marketing Page?

    Unfortunately, I've tried this and it's not working.  Yes, I'm starting from scratch, the templates were not working for me with what I need to do.

  • Suggested answer
    zica Profile Picture
    zica on at
    RE: How to center align the body of a Marketing Page?

    Hi Stephani,

    Here are a couple industry standard techniques you can use to center things, either vertically or horizontally:

    www.w3schools.com/.../css_align.asp

  • Suggested answer
    Jonas Velling Profile Picture
    Jonas Velling 142 on at
    RE: How to center align the body of a Marketing Page?

    Hi Stephani,

    First of all, do you use a template for your marketing pages or do you use a blank/none?

    If you are not using a template and you are trying to build one from scratch, I believe that you need some HTML experience. You should be able to achieve this by creating a “container” and add some styling to it.

    The markup could look something like this (inserted in source of the designer):

    <style>

    .container {

    width: 900px;

    margin: 0 auto;

    </style>

    <div class=“container”>

    YOUR CONTENT GOES HERE

    </div>

    You can find tons of examples of this online. Most of the templates in Dynamics Marketing should already contain this.

    I hope this helps.

    Kind regards,

    Jonas

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans