It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Change the default text in the Search Box?

The default text in the Confluence Search Box is : Search Confluence.

How can I change this text?

I'm using the Documentation Theme.

4 answers

1 accepted


and javascript again iss your friend.

Insert the following code in the Confleunce Administration > Custom HTML > "At the end of the BODY" - part

<script type="text/javascript">

AJS.toInit(function ($) {
        var search = jQuery(".quick-search-query");
        search.each(function() {
            searchBox = jQuery(this);
  "quicksearch", {
                placeholder: "My Test Value",
                placeholded: true




The Placeholder Vlaue "My Test Value" should be set. Testet it with a Confluence 4.0.4. Hope that works for you.

Thanks, Sandro - this script works great in my version of Confluence!

Sorry about the duplicate questions - I wasn't aware that the first one was accepted. Then this weekend I began receiving answers for both. And different answers at that! But yours was the simplest and it worked.

Thanks again,


Any chance this will work with Confluence 6.8.2?





I think it might be easier to follow the Confluence documentation regarding changes to interface text:

Hi Stanislav,

Thanks for your reply. I got a lot of great answesr from everyone, but for me, Sandro's was the easiest to apply. I didn't have to leave the UI - just plug in the script and it's done.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence Cloud

Bring information from GitHub into Confluence

I’ve got a couple of questions for you. Do you write technical documentation? What about technical documentation that references code and files from GitHub? In this article you will learn how to in...

32 views 0 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you