How can we help you today?

How to Add Sublist Levels into ShortPoint Lists

By default, you don’t have the option to add sub-levels to a ShortPoint List (Image List, Icon List, Simple List, File List, etc.):

default list


This article will demonstrate how to add sub-levels to ShortPoint Lists using Custom CSS and Class names:


list with sublevels


TABLE OF CONTENTS


Prerequisites


Interactive Tutorial

Start the interactive tutorial to learn how to add sub-levels to a ShortPoint List:

Below is the Custom CSS used in the tutorial:

.sublist--level-1 {
  margin-left: 30px;
  width: calc(100% - 30px);
}

.sublist--level-2 {
  margin-left: 60px;
  width: calc(100% - 60px);
}

.sublist--level-3 {
  margin-left: 90px;
  width: calc(100% - 90px);
}


And here are the class names you can use:

  • sublist--level-1 - allows you to move an item 30 pixels to the right.
  • sublist--level-2 - allows you to move an item 60 pixels to the right.
  • sublist--level-3 - allows you to move an item 90 pixels to the right.


NOTEThis solution is only applicable for static ShortPoint List Design Elements. This is because you don’t have the option to add a Class name to individual items in a connected ShortPoint List.

Step-by-step Tutorial

Follow the steps below to learn how to add sub-levels to a ShortPoint List:


Step 1: Edit the ShortPoint Web Part

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


Edit

  • Close the Toolbox:


close icon

  • Select the Edit properties icon:


Edit properties icon



Step 2: Copy the CSS Code

  • Copy the code below:
.sublist--level-1 {
  margin-left: 30px;
  width: calc(100% - 30px);
}

.sublist--level-2 {
  margin-left: 60px;
  width: calc(100% - 60px);
}

.sublist--level-3 {
  margin-left: 90px;
  width: calc(100% - 90px);
}

Step 3: Edit the ShortPoint List


NOTEBefore proceeding, make sure you have a static ShortPoint List (Image List, Icon List, Simple List, File List, etc.) on your page. Ensure that it is static and not connected, as this solution only works for static List Design Elements.


  • Click the EasyPass tag of the List Design Element:


easypass tag


  • Select the cogwheel icon:


cogwheel icon


Step 4: Paste the code

  • Click the next icon:


next icon

  • Go to the Custom CSS tab.
  • Paste the code in the Custom CSS field:


paste code


Step 5: Add Class Names

  • Below are the class names you can add to each item on your List. Copy the class name you want to use:
    • sublist--level-1 - allows you to move an item 30 pixels to the right.
    • sublist--level-2 - allows you to move an item 60 pixels to the right.
    • sublist--level-3 - allows you to move an item 90 pixels to the right.


  • Click the back icon:


back icon


  • Select the cogwheel icon of the item you want to modify:


cogwheel icon


  • Go to the Custom CSS tab:


custom css tab


  • Paste the Class name you copied into the Class field. As you can see, depending on the class name you copied, the selected item will move to the right, creating a sub-level:


paste in class field

  • Click the back icon:


back icon


  • Repeat the same steps for the other items you want to customize:


repeat steps


Step 6: Save

  • Once satisfied, click the green check mark.
  • Click the eye icon to see your page in real-time:


eye icon

  • Save your changes:


Save


Congratulations! You have successfully added sub-levels to your ShortPoint List:


list with sub levels


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 95 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