first theme commit
This commit is contained in:
18
searchform.php
Normal file
18
searchform.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Search form template.
|
||||
*
|
||||
* @package ThemeStarter
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<!-- Header Search -->
|
||||
<section class="relative">
|
||||
<div id="search-overlay" class="fixed top-0 left-0 bg-black bg-opacity-60"></div>
|
||||
<form method="get" action="<?= esc_url(site_url('/')) ?>" id="header-search" class="absolute h-full w-full p-4 flex inset-0 items-center max-w-7xl mx-auto">
|
||||
<div class="absolute left-8 h-full flex items-center"><i class="bi bi-search"></i></div>
|
||||
<input autocomplete="off" type="search" id="s" name="s" class="pl-10 focus:border-white rounded-md w-full" type="text" placeholder="Search...">
|
||||
</form>
|
||||
</section>
|
Reference in New Issue
Block a user