Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen
how to custom zd-autocomplete-header
Gepostet 03. März 2023
Hi, could you help me please, I would like to change autocomplete header text for custom text.
I need change "Top article suggestion" to "my new text" how can i do this? Thank you
0
1
1 Kommentar
Remi
Good day Iuliia Saunova,
Thank you for your post, hope you are fine!
Unfortunately, there is no inbuilt method to change this string and this isn't supported, You would need to do DOM manipulation / custom code to achieve this.
Something like below :
You will have to find a way to listen to this element mounting and trigger the function containing the script once the latter is mounted in the DOM.
We cannot really assist further than this, I'm afraid.
Hope this helps!
Best regards,
0