Sunday, June 12, 2022

Add sections and columns on a sharepoint modern page

Create attractive, organized layouts by adding sections with columns on SharePoint modern pages. To show content side-by-side, you can add up to three columns to each section. If you are working on a page that is part of a Communication site, you can create a column that spans the entire page (including its edges), by adding a full-width column. You can also stack multiple sections with varying numbers of columns. You can even add a vertical section to the right side which is great for showing things like quick links, contacts, the weather, countdown timers, and more.

The following example has three one-column sections on the left, and a vertical section on the right:

Page with sections including a vertical section

Note: Some functionality is introduced gradually to organizations that have opted in to the Targeted Release program. This means that you may not yet see this feature or it may look different than what is described in the help articles.

Add a section layout to a page

  1. Go to the page where you want to add columns.

  2. If you're not in edit mode already, click Edit at the top right of the page.

  3. Hover your mouse below the title area of the page to the far left, or above or below an existing web part to the far left of the page, and you'll see a line with a circled +, like this with a tool tip that says Add a new section.

    screenshot of the add a section icon

  4. Click screenshot of the add section icon.

  5. Under Section layout, select the number of columns you want, or, if you are on a page that is part of a Communication site, you can select a full-width column to span the entire page (including its edges).

    Screenshot of the section layout pane

Note: Full-width column is not available on pages that are part of Team sites. It is available only on pages that are part of Communication sites.

Add a section template

  1. Go to the page where you want to add a section template.

  2. If you're not in edit mode already, click Edit at the top right of the page.

  3. Hover your mouse below the title area of the page to the far left, or above or below an existing web part to the far left of the page, and you'll see a line with a circled +, like this with a tool tip that says Add a new section:

    screenshot of the add a section icon

  4. Click screenshot of the add section icon.

  5. In the pane that opens, select the Templates tab. 

  6. From the list of templates, choose the template that best suits your needs. 

  7. Once that template has been added to the page, insert the desired content into each field of the template. 

Learn more about using section templates for SharePoint pages.

Add a vertical section

  1. Go to the page where you want to add a vertical section.

  2. If you're not in edit mode already, click Edit at the top right of the page.

  3. Hover your mouse below the title area of the page to the far left, or above or below an existing web part to the far left of the page, and you'll see a line with a circled +, like this with a tool tip that says Add a new section:

    screenshot of the add a section icon

  4. Click screenshot of the add section icon.

  5. Under Section layout, select Vertical section.

    Screenshot of vertical section option highlighted

Notes: 

  • Vertical sections are currently available only on the right side of the page.

  • Length of vertical sections is adjusted based on the content on the page, growing or shrinking with the length of content in non-vertical sections.

  • You cannot have a full-width column and a vertical section on the same page.

  • In a narrow browser window, a vertical section is moved to the bottom of the page. The vertical section will return to the right side of the page when you make the window wider. This can also happen if your screen width is less than 1024 px. Try adjusting your display settings under Scale and layout. For example, in the dropdown under  Change the size of text, apps, and other items, select a value of 125% or lower.

Change an existing section

Note: When you have content in two or more columns, and then reduce the number of columns, the content in the right most column will move to the next column on the left. If you reduce to one column, content in the second or third columns will move to the bottom of the first column.

  1. Go to the page where you want to change a section.

  2. If you're not in edit mode already, click Edit at the top right of the page.

  3. Each section of a page is marked with a dotted line. Select the section you want to add columns to, then click Edit section on the left side of the page.

    Click the Edit section button to begin editing a section

  4. In the Section toolbox on the right side, choose the number and type of columns you want, and if you want to make the section stand out, or make your page more attractive, choose a section background color. The available colors are based on your site theme.

    Section layout pane

Note: The section background color shows through most web parts, as in the text web part shown below (on the left). Other web parts maintain the background of the page rather than the section. For accessibility purposes, the List, Document library, and Quick chart web parts will always maintain the page background (an example is the Quick chart web part below). Web parts that will eventually allow section background to show through, but do not today, are: Site activity, Yammer conversations, Yammer highlights, List properties, Page properties, Group calendar, Bing news, and Microsoft Power Apps. For best results, we recommend not using a section background color for sections that contain these web parts.

Example of Text web part and Quick chart web part in a section background

Add content to a column

  1. If you're not in edit mode already, click Edit at the top right of the page.

  2. Go to the column where you want to add content.

  3. Hover your mouse over the column and click Circled plus sign used to add a modern web part to a page.

  4. Select the web part you want to add to the column, and then add your content to the web part. Learn about using web parts.

Make sections collapsable

Make your sections collapsable in the Section formatting pane 

screenshot of collapsible sections in Sharepoint pages

  1. If you're not in edit mode already, click Edit at the top right of the page.

  2. Select the section you want to make collapsible, then select Edit Section to the left side of the page.

  3. In the Section formatting pane, under Make this section collapsible, switch the toggle on.

  4. Add a Section display name to identify your section, choose whether or not you want to enable the divider line between sections by switching the Show divider line between sections toggle on or off.

  5. Choose the Expand or collapse icon alignment by selecting Left or Right.

  6. For each section, decide if the default display will be expanded or collapsed by switching the toggle to the desired option.

screenshot of the section formatting pane

No comments:

Post a Comment