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

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
Answer accepted

Issue is resolved.

brbojorque Community Leader May 06, 2019

Hi @Karen Beck , it would a great help if you share how did you manage to solve this.

Thank you.

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
TAGS
Community showcase
Posted in Confluence

Lessons and Learnings: Six Months of Working Remote [Discussion]

Hey there, folks! For most of us, the past six months- yes, you read that right- have been a journey. More people than ever before have pivoted to working remotely, and navigating being on-scre...

8,514 views 6 6
Join discussion

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