SharePoint Button and Call to action Web Part

This SharePoint Online tutorial explains the SharePoint Button web part and SharePoint call to action web part in modern SharePoint sites.

Also, we will discuss the SharePoint Button web part and how to add and configure the button web part to our SharePoint modern site page, and we will discuss button alignment and button label in the Button web part in SharePoint Online modern site.

Based on a SharePoint Online environment, we will see a few examples for Button and call to action web parts.

What is the Button web part in modern SharePoint?

  • The Button web part allows us to add a custom label button and links button on the SharePoint site page.
  • When we click on the button, it easily redirects to the mentioned URL page, either external or internal in modern SharePoint.
  • The Button web part is not available in SharePoint Server 2019.

Also, read the SharePoint Group Calendar Web Part

How to add Button web part in SharePoint online

Let us see how to add a button web part in modern SharePoint,

  • Open the SharePoint online site page -> select Edit Page -> click on the + circled icon to add a new Section layout -> insert the button web part.
Button web part in SharePoint online
Button web part in SharePoint online
  • In the below screenshot, we can see the web part button is added, you can edit the button web part and see the options as a label, link, and the button alignment in the property pane of the button web part on the right.
  • In the Label box, we can name the label that we want to display. In this example, I named the label Navigate Next.
  • In the Link box, enter the source URL. So that when we click on the button it redirects to the mentioned URL.
  • If your link is added without one of these protocols, https:// will be added by default.
  • In the button web part under the Button Alignment option, we can align the button to the right, left, or center.
  • The color of the button displayed is based on the color of the current site theme, if you want to change the color of the button then you have to change the SharePoint site theme color.
  • Click Republish to save your changes.
Button web part in the modern SharePoint
Button web part in the modern SharePoint

This is how we can add a button web part in modern SharePoint Online sites.

Read SharePoint News Web Part

SharePoint online button web part open in a new tab

Let us see how to open the button web part in a new tab in SharePoint online,

  • In modern SharePoint pages, when we click on the button by default, it opens within the SharePoint in the same tab.
  • But the external links always open in a new tab in the Modern SharePoint button web part.
  • The best way is the user can use the browser behavior.
  • Right-click on the button and click on Open link in new tab as shown below:
SharePoint online button web part open in new tab
SharePoint online button web part open in new tab

This is how to open the button link in a new tab in SharePoint online,

Here we learned the SharePoint Online Button web part, what is SharePoint button web part, and how to add a button web part for the SharePoint Online modern site page. And also covered SharePoint online button web part open in a new tab.

Read SharePoint Hero Web Part

SharePoint Call to action Web Part

This SharePoint Online tutorial is all about SharePoint Call to action web part.

We will discuss the SharePoint Call to action web part and how to insert the call-to-action web part into our SharePoint modern site page and also we will discuss button alignment and button label in the call-to-action web part in SharePoint Online modern site.

The examples we are going to see here are based on a SharePoint Online environment. Some of the features described below might not be available in SharePoint Server 2019.

What is the Call to action web part in modern SharePoint?

  • The Call to action web part allows us to create a button and also to highlight contents or action so that users can view the highlighted content on our SharePoint site page.
  • The Call to action web part is similar to the Button web part, the only difference in a call-to-action web part is we can add a background image, and a Call to Action text, which gives us more context.
  • The Call to action web part is not available in SharePoint Server 2019.

Read Script editor web part in SharePoint

How to add Call to action web part in SharePoint online

Let us see how to add a call to action web part in modern SharePoint,

  • Open the SharePoint site page where you want to insert call to action web part to the SharePoint modern site page.
  • Select Edit Page at the top right of the corner of the SharePoint site page.
  • Click + circled icon then add a new Section layout.
  • In the search box, enter the call to action to quickly find and select the call to action web part.
call to action web part in SharePoint online
call to action web part in SharePoint online

In the below screenshot, we can see the call to action web part is added, you can edit the call to action web part and see the four options as a BackGround image, Button label, Button link, and the alignment in the property pane of the call to action web part on the right.

call to action web part in modern SharePoint
call to action web part in modern SharePoint

Background Image

To change the background image, select the Change button under the background option in the call to action property pane, where you can add the image from various sources:

  1. Recent -> We can see the images listed that are opened recently and we can select and insert them into our call to the action web part.
  2. Stock images -> It is possible to insert the Stock images to your SharePoint site page.
  3. Web search-> We can insert the web search bing images to your SharePoint site.
  4. One Drive -> Provide a link of an image that you have saved on OneDrive to our call to action web part.
  5. Site -> Provide a link for an image from a SharePoint Site.
  6. Upload -> Upload an image from a SharePoint Site.
  7. From a link -> Enter a link of our image from OneDrive or SharePoint in Microsoft 365.
  8. Make sure your image is 1204 pixels wide for better results.
SharePoint modern call to action web part
SharePoint modern call to action web part

In this example, I choose an image from the web search. Select Insert button.

call to action web part background image
call to action web part background image

Button Label

In the Label box, we can name the label that we want to display. In this example, I named the label Purchase Now.

Button Link

In the Link box, enter the source URL. So that when we click on the button it redirects to the mentioned URL. The link should start with mailto: , http:// , https://
If your link is added without one of these protocols, by default it will add https:// before the link.

Alignment

In the button web part under the Alignment option, we can align the button to the right, left, or center. Controls the alignment position of both the text and the button

  • Now, you can see that I have added the “Add your call to action text here” as “SharePoint Development Training Course”. If you have too many characters in the call to action the text will just get truncated.
  • And also added the Button label, Button-Link, and modified Alignment as shown below:
call to action web part in the modern SharePoint
call to action web part in the modern SharePoint
  • Click Republish to commit your changes.

This is how to add a call to action web part in the modern SharePoint Online sites.

Read Enable Chart Web Part in SharePoint

SharePoint Button web part vs Call to action web part

Button web partCall to action web part
The Button web part allows us to add a custom label button and links button on the SharePoint site page.The Call to action web part allows us to create a button and also to highlight contents or actions so that users can view the highlighted content on our SharePoint site page.
The Button web part is similar to the call-to-action web part, the only difference in a button web part is we cannot add a background image, and a Call to Action text.The Call to action web part is similar to the Button web part, the only difference in a call-to-action web part is we can add a background image, and a Call to Action text, which gives us more context.
The Call to action web part is not available in SharePoint Server 2019.The Call to action web part is not available in SharePoint Server 2019.
Button web part vs Call to action web part

SharePoint online call to action web part open in a new tab

Let us see how to open the call to action web part in a new tab in SharePoint online,

  • In modern SharePoint pages, when we click on the button by default, it opens within the SharePoint in the same tab.
  • But the external links always open in a new tab in the Modern SharePoint button web part.
  • The best way is user can use the browser behavior.
  • Right click on the button and click on Open link in new tab as shown below:
SharePoint online call to action web part open in a new tab
SharePoint online call to action web part open in a new tab

This is how to open the button link in a new tab in SharePoint online,

Related SharePoint Online tutorials:

In this SharePoint tutorial, we learned the SharePoint Online Call to action web part, what is SharePoint call-to-action web part and how to add a call-to-action web part for the SharePoint Online modern site page. And also covered below topics:

  • Difference between Button web part and Call to action web part.
  • SharePoint online call to action web part open in a new tab.
>