-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #578 from dburry/v3
add divs and classes to search drawer
- Loading branch information
Showing
1 changed file
with
12 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
<form action="<?php echo esc_url(home_url('/')); ?>" role="search" method="get" class="search-form"> | ||
<fieldset> | ||
<input type="search" value="{{ the_search_query() }}" name="s" placeholder="{{ __('Search...', 'alps') }}" class="search-form__input u-font--secondary--s" required /> | ||
<button class="search-form__submit is-vishidden"> | ||
<span class="is-vishidden">{{ __('Submit', 'alps') }}</span> | ||
</button> <!-- /.search-form__submit --> | ||
</fieldset> | ||
</form> <!-- /.search-form --> | ||
<div class="c-search-drawer u-theme--dark u-theme--background-color--darker"> | ||
<div class="c-search-drawer__filter c-filter c-filter-is-active"> | ||
<form action="<?php echo esc_url(home_url('/')); ?>" role="search" method="get" class="search-form c-filter__search"> | ||
<fieldset> | ||
<input type="search" value="{{ the_search_query() }}" name="s" placeholder="{{ __('Search...', 'alps') }}" class="search-form__input u-font--secondary--s u-theme--color--darker can-be--white" required /> | ||
<button class="search-form__submit is-vishidden"> | ||
<span class="is-vishidden">{{ __('Submit', 'alps') }}</span> | ||
</button> <!-- /.search-form__submit --> | ||
</fieldset> | ||
</form> <!-- /.search-form --> | ||
</div> | ||
</div> |