How can we help you today?

How to Add a Gradient Effect to Design Elements Using the Shadow Feature

With the Shadow feature, you can easily add a beautiful gradient effect to your Design Elements without needing Custom CSS. This article will show you how to accomplish that.


SAMPLE BUTTON WITH GRADIENT


Sample Button with gradient


SAMPLE PANEL WITH GRADIENT


Sample Panel with gradient


NOTEThis solution is currently only applicable for the Button and Panel Design Elements.

TABLE OF CONTENTS


Prerequisites

  • You must have ShortPoint SPFx version  8.5.1.0 and up installed on your SharePoint environment.
  • You must be a ShortPoint Designer with an active license.
  • You must already have the Button or Panel Design Element on your SharePoint page.

Interactive Tutorial

Start the interactive tutorial to add a gradient effect to Design Elements:

NOTELearn more about the options you can customize under Shadow in How to Apply Shadow Styles for Design Elements.

Step-by-step Tutorial

Follow the steps below for a detailed guide.

Step 1: Edit the ShortPoint Web Part

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


Edit


  • Close the Toolbox:


close

  • Select the ShortPoint tag.

  • Edit ShortPoint:


Edit properties icon


Step 2: Edit the Design Element


NOTEThis solution is currently only applicable for the Button and Panel Design Elements. Make sure you have any of these Design Elements before proceeding.


  • Click the EasyPass tag of the Design Element you’ll use. For this article, we’ll use the Button Design Element:


EasyPass tag


  • Click the cogwheel icon:


cogwheel icon


Step 3: Choose and Customize Preset Style

  • Go to the Design tab.
  • Click the Shadow section.
  • Choose a Preset style.
  • Set the Position to Inner:


Inner


  • Customize the look of the shadow according to your preferences:


options under Shadow


NOTELearn more about the options you can customize under Shadow in How to Apply Shadow Styles for Design Elements.

Step 4: (Optional) Add Roundness

  • To make the design look even better, you can add a Roundness value:


Roundness


NOTECheck Out Introducing the Roundness Feature: What It Is and How to Use It to learn more about the Roundness feature.


Step 5: Save

  • Click the green check mark once satisfied.
  • Save your changes:


Save


Congratulations! You now have a beautiful gradient effect on your Design Element.


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