When displaying SharePoint images in the ShortPoint Slideshows design element, the default form it takes is a box. You can make the images display with rounded corners by utilizing the Custom CSS feature.
This is how the default slideshow appears on your SharePoint page:
The steps we will provide below will allow you to make rounded corners like this example:
TABLE OF CONTENTS
- Step 1: Insert or Edit a ShortPoint Slideshows design element
- Step 2: Copy and paste code in Custom CSS
- Step 3: Preview and Insert/Update Slideshow
CSS customizations were added as a feature since ShortPoint SPFx version 126.96.36.199 or higher. Visit our Download ShortPoint page to get the latest version of ShortPoint.
Step 1: Insert or Edit a ShortPoint Slideshows design element
We begin by inserting the Slideshows design element into your SharePoint page. Go to edit mode and add a ShortPoint web part. Click the insert plus button to open Page Builder and select Slideshows.
For Modern SharePoint pages:
For Classic SharePoint pages:
You have the option to add your images and their details, including links and descriptions, one by one in the Items tab.
Or you can use ShortPoint Connect to pull data from a list or library within your SharePoint tenancy or in other locations. Just go to the Connect tab and complete the connection requirements. Once connected, you can select what details you want to display on your slideshow.
Note: If you are not familiar with ShortPoint Connect, please check out our Basic Tutorial article for more details.
If you already have a ShortPoint Slideshows in place and you want to implement rounded corners, simply go to edit mode and hit the Settings cogwheel in the existing design element.
Step 2: Copy and paste code in Custom CSS
We will be using a CSS customization to create the rounded corners in your slideshow. Copy the CSS code below:
border-radius: 10px; overflow: hidden;
Note: If you want a more pronounced rounded corner, you can increase the value of the px (currently 10px) in the code.
Navigate to the Custom CSS tab and paste the copied code into the space provided.
Note: We have several articles about how to customize CSS for ShortPoint design elements in our Knowledge Base.
Step 3: Preview and Insert/Update Slideshow
Hit the Preview button to see how the changes affect your content. When you arrive at your desired design, click Insert or Update. Press the ShortPoint Save button to view the slideshow element on your SharePoint page.
Your slideshow will now display with rounded corners just like our example.
We are done! Apply this option to more of your SharePoint pages that have slideshows.
- Custom CSS Tab for ShortPoint Design Elements
- How to Make Rounded Corners for ShortPoint Panel
- How to Make Rounded Corners for ShortPoint Tiles
- How to Make Rounded Corners for Button Design Element