How can we help you today?

How to Customize the Search Box Design Element

NOTEThis Design Element is still in development and will be released soon.


This article will showcase how to customize the Search Box Design Element and detail all its features.


sample Search Box Design Element


TABLE OF CONTENTS


Prerequisites

  • You must have the ShortPoint SPFx version 8.6.0.0 or later installed in your SharePoint environment.
  • You must be a ShortPoint Designer with an active license.

What Is a Search Box?


The Search Box Design Element is the new addition to ShortPoint's library of Design Elements, starting from ShortPoint SPFx version 8.6.0.0 or later. This Design Element lets your users search for any content, file, or information within your SharePoint Site Collection.


Search Box



With the Search Box Design Element, you can create a personalized experience for your users. You can easily customize the content inside and the URL path of the search.


Search Box content


And to make it even more amazing, you can curate the look of the search box to follow the unique branding of your organization.


Search Box design


Interactive Tutorial

Click Get Started to learn how to customize the Search Box Design Element:

NOTETo learn more about the features you can customize for Search Box, check out Search Box Features.

Step-by-step Tutorial

Follow the detailed guide below to start using Search Box:


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


  • Click the Edit properties icon:


Edit properties icon


Step 2: Insert the Icon Boxes Design Element

  • Choose where you want to add the Search Box and click the plus icon:


plus icon


  • Use the search box to look for Search Box and click it:


Search Box


Step 3: Choose a Search Box Style

  • In the Style tab, choose the style of the Search Box you prefer.

Step 4: Customize the Content

  • Go to the Content tab.
  • Customize the content of the Search Box according to your preferences.


NOTETo learn more about the features you can customize for Search Box, check out Search Box Features.

Step 5: Customize the Design

  • Go to the Design tab.
  • Customize the look of the Search Box according to your preferences.
  • Once satisfied, click the green check mark.


NOTETo learn more about the features you can customize for Search Box, check out Search Box Features.

Step 6: Save

  • Click the eye icon to see your page in real-time:


eye icon

  • Save your changes:


Save


That's it! You now have a Search Box on your SharePoint page. 


Search Box Features

Below are the options you can find in the Search Box Settings window 


A. Style Tab

The Style tab allows you to choose the style of the Search Box.


Style tab


B. Content Tab

The Content tab allows you to edit the content of the Search Box. It has the following options:


content tab


IconIcon
allows you to choose the icon inside the Search Box.
Search URLSearch URL
allows you to modify the URL to use for searching. Remember to add %s for the search term.
placeholderPlaceholderallows you to change the placeholder text inside the Search Box. By default, it is set to 'Search...'
Show ButtonShow Button
when enabled, the Search button will be shown.
Button TextButton Text allows you to change the text inside the Search button. By default, it is set to 'Search.'
Button IconButton Icon
allows you to add an icon inside the Search button.

C. Design Tab

The Design tab allows you to customize how the Search Box will look. It has the following options:


Design tab


SETTINGS

SizeSize 
allows you to choose the size of the Search Box.
ColorColor
allows you to modify the primary color of the Search Box. You can change the color by [1] adding a hex code, [2] using the drop-down, or [3] using the color picker.
Background ColorBackground Colorallows you to modify the background color of the Search Box. You can change the color by [1] adding a hex code, [2] using the drop-down, or [3] using the color picker.
Text ColorText Color 
allows you to modify the color of the text inside the Search Box. You can change the color by [1] adding a hex code, [2] using the drop-down, or [3] using the color picker.
Button Text ColorButton Text Color
allows you to modify the color of the text inside the button. You can change the color by [1] adding a hex code, [2] using the drop-down, or [3] using the color picker.
Border ColorBorder Color 
allows you to modify the border color of the Search Box. You can change the color by [1] adding a hex code, [2] using the drop-down, or [3] using the color picker.
AlignmentAlignmentallows you to choose the alignment of the Search Box. You can choose from left, right, or center.

D. Advanced Tab

The Advanced tab allows you to customize the margin values around the Search Box Design Element. It has the following options:


Advanced tab


Margin Top Margin Topallows you to adjust the top margin of the Search Box in px, %, or em.
Margin RightMargin Rightallows you to adjust the right margin of the Search Box in px, %, or em.
Margin BottomMargin Bottomallows you to adjust the bottom margin of the Search Box in px, %, or em.
Margin LeftMargin Leftallows you to adjust the left margin of the Search Box in px, %, or em.

E. Custom CSS Tab

This tab allows you to use your own CSS, HTML, and JavaScript code to customize the Search Box Design Element. 


NOTECheck out our support article on How to Insert Custom CSS into a Page Builder Element? (Basic Tutorial) to know more about Custom CSS.


Custom CSS tab


NOTEThe Connect and Visibility tabs are currently unavailable in Live Mode.

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