Search sidebar like search navbar
This commit is contained in:
parent
550fe8bc67
commit
3b021586c3
|
@ -58,9 +58,12 @@
|
|||
}
|
||||
}
|
||||
#tainacan-search{
|
||||
font-size: 14px;
|
||||
font-size: 12px;
|
||||
color: #898d8f;
|
||||
height: 27px;
|
||||
&:focus{
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@ if(!function_exists('tainacan_setup')) {
|
|||
* Display in gutenberg plugin the full width for image
|
||||
*/
|
||||
add_theme_support( 'align-wide' );
|
||||
|
||||
|
||||
add_theme_support( 'html5', array( 'comment-list' , 'comment-form') );
|
||||
add_theme_support( 'post-thumbnails' );
|
||||
define('FS_METHOD', 'direct');
|
||||
|
@ -182,7 +182,7 @@ function tainacan_get_form_search(){
|
|||
$form .= '<form class="tainacan-form-search d-none align-items-center">';
|
||||
$form .= '<div id="test-form-search" class="d-flex justify-content-between">';
|
||||
$form .= '<div id="input-search" class="w-100 pl-1">';
|
||||
$form .= '<input class="form-control tainacan-input-search py-0 pr-0 '.$input.'" type="search" placeholder="Pesquisar no repositório" style="height:31px">';
|
||||
$form .= '<input class="form-control tainacan-input-search py-0 pr-0 '.$input.'" type="search" placeholder="'.__('Search in repository').'" style="height:31px">';
|
||||
$form .= '</div>';
|
||||
if(wp_is_mobile()){
|
||||
$form .= '<div id="btn-reset" class="d-none">';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<form role="search" method="get" class="search-form" action="<?php echo home_url( '/' ); ?>">
|
||||
<div class="input-group border">
|
||||
<input class="form-control py-2 border-right-0 border-0" type="search" name="s" value="search" id="tainacan-search">
|
||||
<input class="form-control py-2 border-right-0 border-0" type="search" name="s" placeholder="<?php _e('Search'); ?>" id="tainacan-search">
|
||||
<span class="input-group-append">
|
||||
<button class="btn btn-outline-secondary border-0 border bg-white" type="submit">
|
||||
<i class="mdi mdi-magnify" style="line-height: inherit;"></i>
|
||||
|
|
Loading…
Reference in New Issue