How to add text in a default search page in SharePoint Server 2019

Andy King 61 Reputation points
2021-03-30T23:47:20.38+00:00

Hello,

I wanted to add one text paragraph which has five lines text HERE below the "search box" in the search page. See the screenshot below.

line 1 ..

line 2

line 3

line 4

line 5...

82964-search-page.jpg

Thanks,

Andy

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,201 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,567 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,791 questions
0 comments No comments
{count} votes

Accepted answer
  1. Jerry Xu-MSFT 7,916 Reputation points
    2021-03-31T06:47:23.17+00:00

    Hi, anonymous userKingWeb-1472 ,

    It seems to be the classic search center page. You can directly edit page , add a script editor to hold HTML like below to display the fine line paragraph.

    <!DOCTYPE html>  
    <html>  
    <body>  
      
    <pre>  
       Line1  
      
       Line2  
      
       Line3  
         
       Line4  
    </pre>  
      
    </body>  
    </html>  
      
    

    Change content inside <pre></pre> to what you want. And edit web part to change zone index to 1 (if not working, set it to be a bigger number).

    83089-image.png


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andy King 61 Reputation points
    2021-04-12T18:30:03.867+00:00

    The script editor works fine. I can add the text now. Thanks so much, Jerry!!

    0 comments No comments