Forum Discussion
Anonymous
6 years agoNot applicable
Page alignment JSON
Hi,
trying to write a custom theme using json, I find Microsoft documentation lacking (no surprise there).
Found ample examples online for visuals alignment, but no Page Alignment json code.
Tried the following excerpt:
"page": {
"*": {
"background": [{
"color": { "solid": { "color": "#ffffff" } },
"transparency": 0,
"alignment": "middle"
},but I still get default page vertical alignment as "top".
Just to make things clear, I want this to be the default set in JSON:
Thank you!
Hi Anonymous
Also, you can customise a current theme and it looks like this property is not included as well.
Best Regards,
Mariusz
If this post helps, then please consider Accepting it as the solution.
Please feel free to connect with me.
LinkedInHello Anonymous ,
maybe too late, but someone else might be still looking for this 🙂
"page": { "*": { "displayArea": [ { "verticalAlignment": "Middle" } ] } }
4 Replies
- le_toolHelper I
Hello Anonymous ,
maybe too late, but someone else might be still looking for this 🙂
"page": { "*": { "displayArea": [ { "verticalAlignment": "Middle" } ] } } - AnonymousNot applicable
Ya thought I'd be able to do it via JSON even though it's not supported in the Themes preview.
Thanks!