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?
Hi @Karen Beck , it would a great help if you share how did you manage to solve this.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.