Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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!
Solved! Go to Solution.
Hi @Anonymous
Also, you can customise a current theme and it looks like this property is not included as well.
Hello @Anonymous ,
maybe too late, but someone else might be still looking for this 🙂
"page": {
      "*": {
           "displayArea": [
                           {
                            "verticalAlignment": "Middle"
                           }
                          ]
           }
        }
					
				
			
			
				
			
			
				
			
			
				
			
			
			
			
			
		Hello @Anonymous ,
maybe too late, but someone else might be still looking for this 🙂
"page": {
      "*": {
           "displayArea": [
                           {
                            "verticalAlignment": "Middle"
                           }
                          ]
           }
        }
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		Hi @Anonymous
You can export Theme in the most recent versions and investigate Json file, by the look of it it's not supported yet.
Hi @Anonymous
Also, you can customise a current theme and it looks like this property is not included as well.
Ya thought I'd be able to do it via JSON even though it's not supported in the Themes preview.
Thanks!
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.