Skip to main content

Change the "Enter your search term here..."

  • September 29, 2020
  • 3 replies
  • 212 views

What's the best method to change the "Enter your search term here.." to something else? I'm assuming it's somewhere under the portal pages code, but I can't find it. Can someone point me in the right direction? :)

Did this topic help you find an answer to your question?

3 replies

Dj Mạnh Remix
Apprentice

​​​​​What's the best method to change the "Enter your search term here.." to something else? I'm assuming it's somewhere under the portal pages code, but I can't find it. Can someone point me in the right direction? :)

 

 

 

 


karlnharrison
Contributor
Forum|alt.badge.img+1

I cam here looking for this answer for Freshdesk, and since it hasn’t been solved. 

I did it myself, go to Admin → Portal → Customization → Pages → Portal home 

add this code 

 

          <script>

            jQuery(document).ready(function() {

              jQuery("#searchInput").attr("placeholder", "Search for an answer to your IT problem..");

            });

          </script>

 where Search for an answer to your IT problem.. has changed the default Enter your search term here..


karlnharrison
Contributor
Forum|alt.badge.img+1

Oh and on the Pages → Layout →  Head you needed this too:

 

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>


Reply