Search Bar in index.php
-
Dear All,
I try to add search form in index.php, after the Blog Subheading place, with this code and its work.
<?php if ( hu_is_checked('blog-heading-enabled') && is_home() ) { get_template_part('parts/page-title'); } ?> <div class="page-title pad group"> <div class="entry themeform"> <div class="notebox"> <?php get_search_form(); ?> </div> </div> </div> <div class="pad group">
The question…
1. There is different width betwen area before and after search form (area number 11 and area number 2) Please see this screenshoot https://postimg.org/image/tsl9nlxql/
How to fix it?
2. When i try to check in mobile device, the search form not responsive. Search form not centered. Please see the screenshoot https://postimg.org/image/mliff7ygx/
How to make the search form responsive and centered?
Thanks for the answer…
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Search Bar in index.php’ is closed to new replies.