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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.