Search box
-
Hello @gofal
First, for any custom changes it’s VERY IMPORTANT to create a child theme.
seconf, to display the default search form, just put in header.php the folowing code :
<?php get_search_form(); ?>
Of course, you’ll have to choose where you want to diplay it, then if you want to add custom style(s) to your form.SYA 🙂
Hi @gofal
Below plugin provided search box on top menu.
https://wordpress.org/plugins/bop-search-box-item-type-for-nav-menus/screenshots/
follow above plugin then check.
Thanks
Hi
Thanks you for you replies. It worked! How can I change the size and color of both the search box and the search button?My site is not public yet but I can upload a capture screen.
How can I do that please?Here is the capture screen
I finally managed to upload a link to my picture (see above).
ThanksHI @gofal
for this use below code in custom css filed (Theme dashabord >> appreance >> customize >> header setting >> custom css filed)
.bop-nav-search .post-password-form input[type="submit"], input[type="submit"] { color:#fff !important; background-color:#e84a52 !important; }change color code as your need.
Thanks
Hi
It worked thanks, but how can I make the box smaller please?Hi @gofal
for this use below code in custom css filed (Theme dashabord >> appreance >> customize >> header setting >> custom css filed)
.bop-nav-search .post-password-form input[type="text"], input[type="text"] { width:100px !important; }Change width according your need
Please do not create multiple query in single threads.
Thanks
Hi @gofal
If you happy with this theme and support plz share your feedback refer below link
https://wordpress.org/support/theme/appointment/reviews/#new-post
Thanks.
Yes thank you
The topic ‘Search box’ is closed to new replies.
