Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

Make section width 100%, column width 600px

Posted on by Microsoft Employee

I'm new to Dynamics and building an email template, but having trouble with getting the section background color to fill over the full width of the email, because I don't want my content to be 100%.

I want the grey and the orange (see image below) to fill at 100% width, but I want the content (header text, logo, banner) to be at 600px wide. So far I haven't been very successful. What I would like is a custom setting in my Content block that allows me to set the width (so a new setting in the second image below). So not just for only the email. Is that possible with the meta codes?

<meta type="xrm/designer/setting" name="<name>" value="<initial-value>" datatype="<data-type>" label="<label>">

So I could make this into something like:

<meta type="xrm/designer/column" name="columnWidth" value="600px" datatype="number" label="columnWidth">

If this works, what CSS class would I have to change for it to use the custom setting as the width? And how would I make sure it's aligned center?

See the third image as an example of what I would like to achieve.

pastedimage1656422631742v1.png

pastedimage1656423373002v2.png

pastedimage1656423468163v3.png

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Make section width 100%, column width 600px

    Hi E. Tijd,

    It seems that your are using D365 Marketing, right? If so, please post it at Marketing forum for further help:

    Dynamics 365 Marketing - Forums, Blogs, Support

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans