Default search box text missing after upgrade

Using these instructions Customizing Search Values, I applied some javascript in the Brand Designer to customize default text in the Search field. When we upgraded Confluence from 5.2 to 5.4 (and the compatible version of Zen), the default text in search box disappeared.

Is this a known issue with the upgrade? Do you have any idea about how to fix this?

3 answers

1 accepted

0 votes
Accepted answer

Issue is resolved.

Hey Karen,

During a upgrade the files in the installation directory are replaced with the ones of the taget version, so any customizations made in the files inside the <Confluence Install> directory needs to be reaplied.

From the scenario you described, plus the guide you provided I can see that this is a customization made by the ZEN plugin itself.

One idea is for you to try to reapply that guide, however if it fails I believe you should mail the ZEN plugin vendor for assistance.

Thanks and Regards,

David|Atlassian Support

I also checked with Brikit. Apparently the default text is still there, but after the upgrade it displays white so it's not visible on the white Search field background. They recommended applying some addtional CSS to the brand. This worked fine.

#search ::-webkit-input-placeholder
{ color: crimson; }
#search :-moz-placeholder
{ color: crimson; }
#search ::-moz-placeholder
{ color: crimson; }
#search :-ms-input-placeholder
{ color: crimson; }

(Obviously swap out "crimson" for whatever color you want there.)

Issue is resolved. Thanks.

Thanks, but Karen's code (in the wikispace Stylesheet) does not affect the placeholder text color at us (C5.7 server). IE9: light blue (or if the top bar color is changed, a lighter shade of the bar color, whereas its search box is a darker shade), Firefox & Chrome: placeholder text not visible! BTW, I guess that there is no method to (a) change the header search box placeholder text, nor to (b) produce a page tree (e.g., sidebar) search box placeholder text. If there is, we'd like to hear. Livesearch would do that, but I'd like to do that in by a standard wikispace macro (instead of having to add "{Livesearch...}" to every Document theme without being able change it later centrally), and I am not able to do that.

Suggest an answer

Log in or Sign up to answer
Community showcase

Scrum Roles Explained: the Do's and the Don'ts

Hello Community,  Today we are going to talk about the three Scrum Roles. There is the Development Team, the Scrum Master and the Product Owner. In my opinion these three are all really impo...

124 views 2 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you