Tue, 11 Aug, 2020 at 7:57 AM
By default, active ShortPoint Tabs can be recognized by the different color - the theme color. It is possible to add a gradient underline below the active Tabs with some custom CSS.
If you would like to apply this solution, please follow the steps in this support article.
Step 1. Insert ShortPoint Tabs Design Element
The Tabs Design Element can be easily added to your pages using ShortPoint Page Builder.
You can start with adding a ShortPoint web part to your page by clicking the plus sign and selecting ShortPoint from the list of the web parts.
1. Choose the Insert tab in the Ribbon.
2. Click the blue Insert button.
Then, select the Tabs Design Element from your ShortPoint Page Builder menu:
Step 2. Copy the code
Here it is the piece of code you will need to use, please copy it:
border-bottom: 5px solid #fff;
linear-gradient(to right, red 2%, purple 25%, red 60%, yellow 90%) 1;
Note: You may different colors, whichever you like. Simply change them in the last row of the code.
Step 3. Open the Custom CSS settings of ShortPoint Tabs
Open the settings of the Tabs by pressing the cog wheel icon.
Switch to Custom CSS tab:
Step 4. Update the ShortPoint Tabs with code
Paste the code into the Custom CSS field as shown in the animation below:
You may check how it will look like on your page by clicking the Preview button:
Click Update and save the page.
That's it. Here is an example of how it may look like on the page:
Did you find it helpful?
Sorry we couldn't be helpful. Help us improve this article with your feedback.