How to Align Web Part Buttons Across Columns in SharePoint
Question details
The user wants to align web part buttons horizontally at the bottom of multiple columns when the content above the buttons has varying heights.

- Product
- SharePoint
- Device & OS
- not provided
- Scenario
- Designing a modern SharePoint page utilizing multiple columns containing varying amounts of text or images, followed by call-to-action buttons.
- Observed behavior
- Buttons do not automatically align at the bottom of the columns because SharePoint modern pages lack a built-in out-of-the-box setting to enforce bottom alignment across varying web part heights.
Ensure you have Site Owner or Designer permissions to edit the SharePoint modern page and access the web part configuration panel.
Utilize Custom Development or Layout Adjustments
Since modern SharePoint does not support native bottom-alignment for web parts across columns, you must rely on custom SharePoint Framework (SPFx) solutions or adjust your page layout strategy.
SharePoint modern pages natively adjust to screen sizes via responsive design, meaning content reflows dynamically. Because of this, using empty spacer web parts to push buttons down is highly discouraged as it will break the layout on smaller screens or mobile devices.
Do not insert empty text boxes or spacer web parts above your buttons to force them down. While it may look aligned on your current monitor, the layout will become disjointed when viewed on different screen sizes.
If uniform alignment is strictly required for your business needs, consider asking your organization's developer team to create a custom web part using the SharePoint Framework (SPFx) that utilizes CSS flexbox to enforce bottom alignment.
Navigate to the Microsoft Q&A Community platform and post your specific layout requirements under the 'SharePoint' tag to see if independent developers have shared an updated custom JSON formatting script or a free web part.

Looking for a Lightweight Office Suite? Try WPS Office
While SharePoint page design requires Microsoft-specific web parts and custom coding, your daily document management and creation doesn't have to be complicated. WPS Office is a highly compatible, easy-to-use alternative that handles all your standard office files effortlessly.

Frequently Asked Questions
Can I use spacer web parts to align buttons in SharePoint?
Using spacer web parts is not recommended. While the layout might look aligned on your specific desktop monitor, SharePoint pages are fully responsive. When viewed on smaller screens, laptops, or mobile devices, the spacers will shift unpredictably, causing the buttons to misalign severely.
Does SharePoint have a custom CSS editor to force web part alignment?
Modern SharePoint pages do not allow direct injection of custom CSS out-of-the-box for security and responsive design stability. To apply custom CSS styles like flexbox for alignment, you would need to deploy a third-party SPFx extension (like the Modern Script Editor), which requires tenant administrator approval.
Will Microsoft add a native alignment feature for web parts?
Microsoft frequently updates SharePoint based on user feedback and community trends. The most effective way to advocate for a native 'align to bottom' column feature is to submit a request or vote on similar existing requests via the official Microsoft SharePoint Feedback portal.




