Hi,
I want to create a custom search bar in confluence to show up next to the default search bar.
I'm using the below link as a reference to start with.
I tried adding the below piece of code in the custom HTML section but unfortunately it doesn't reflect.
Any suggestions on how to go about this?
Thanks,
Aditya
<script>
AJS.toInit(function(){
AJS.$('.aui-header-primary ul.aui-nav').append('<li style="display:block;"><input type="search" id="query" placeholder="Engineering Search..." aria-label="Search through site content"></li>')
</script>
Solved! Go to Solution.