Skip to main content

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? :)



​​​​​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? :)

 

 

 

 


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


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