Currently, I use Squarespace's default site search tool (see top left of webpage: www.bigbiology.org). However, recently it has been buggy, so I do not get consistent results. I use the Brine template.
So, I want to add a Google Programmable Search Engine. Previous posts have discussed how to add it within a code block on a single page, but is there a way to add it to the header? I want to replace the default Squarespace search bar with this Google one.
Here is the code from Google:
<script async src="https://cse.google.com/cse.js?cx=a7d8af8c580b74234">
</script>
<div class="gcse-search"></div>