Skip to main content
Customer Insights - Journeys forum
Suggested answer

How to center align the body of a Marketing Page?

editSubscribe (0) ShareShare
ReportReport
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 140 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

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,068 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,591 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans