How can we help you today?

How to Add a Border to ShortPoint Sections Using ShortPoint Theme Builder

By default, ShortPoint Sections don’t have the option to add a border:


no option to add border


With ShortPoint Theme Builder, you can add borders to ShortPoint Sections using Custom CSS. This article will show you how.


ShortPoint Section with border


TABLE OF CONTENTS


Prerequisites

  • You must have the latest version of ShortPoint SPFx installed in your SharePoint environment.
  • To add Custom CSS in Theme Builder, you must be a ShortPoint Designer with either a Pro or Enterprise License. For more details, check out Licensing Options.

Interactive Tutorial


Start the interactive tutorial to learn how to add borders to ShortPoint Sections:

Below is the Custom CSS code used in the tutorial:

.bordered-section {
    border-width: 2px;
    border-color: #000d2c;
    border-style: solid;
}

Step-by-step Tutorial


The steps have been divided into two parts for clarity. Follow the steps below for a detailed guide:


Part 1: Add Class Names


This part will demonstrate how to add Class Names to ShortPoint Sections that you want to have borders.


Step 1: Edit the ShortPoint Web Part

  • Go to the SharePoint site you want to use and click Edit:


Edit


  • Close the Toolbox:


close icon


  • Click the Edit properties icon:


Edit properties icon


Step 2: Edit a Section

  • Look for the Section that you want to have a border and select its tag:


Section tag


  • Select the cogwheel icon:


Cogwheel icon


Step 3: Add a Class Name

  • Click the next icon:


next icon

  • Go to the Custom CSS tab.
  • Add ‘bordered-section’ as the Class name:


add class name

  • Click the green checkmark once done.
  • Repeat steps 2 & 3 for other Sections that you want to have a border.

Step 4: Save

  • Save your changes:


Save


  • Publish your page:


Publish


Great work! You can now proceed to Part 2.


Part 2: Add Custom CSS


This part will showcase how to add the Custom CSS code in the ShortPoint Theme Builder.


Step 1: Open the ShortPoint Theme Builder

  • Click the ShortPoint logo:


ShortPoint logo


  • Select Theme Builder:


Theme Builder


Step 2: Copy Code

  • Copy the Custom CSS code below:
.bordered-section {
    border-width: 2px;
    border-color: #000d2c;
    border-style: solid;
}

Step 3: Paste Code

  • Look for Utilities and select it:


Utilities


  • Choose Custom CSS:


Custom Css


  • Paste the code in the field provided.
  • Customize the border-width and border-color values to your liking.
  • Click Apply:


Apply


  • Publish your changes.


Congratulations! You’ve successfully added borders to ShortPoint Sections.


Related articles:

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

World's best intranet sites are designed using ShortPoint

Get started today! Learn more
See all 14 topics

Start a trial

Ignite your vision. Install ShortPoint directly on your site, or play in sandbox mode. No credit card required.

Get started today

World’s best intranet sites are designed using ShortPoint

Thousands of companies using ShortPoint everyday to design, brand and build award winning intranet sites.

Get started Learn more