How to change the default class in wordpress?

Good morning. Please tell me how to change the default classes ?
For example <?php get_search_form(); ?>
Standard to it is assigned the class ".search-form" how to change this to your class?
July 9th 19 at 10:33
2 answers
July 9th 19 at 10:35
Solution
https://codex.wordpress.org/get_search_form

Create a theme file searchform.php and create a form based on an existing one.
All infa is on the link
July 9th 19 at 10:37
Solution
The search form is essentially the same template_part. Therefore, in the file searchform.php you are free to ask any style classes. <?php get_search_form(); ?> just insert searchform.php in the template.
The fact that the site should be search 2 lines... One is already there, I already ordered it, and now need to make another line with other styles... - kenton93 commented on July 9th 19 at 10:40
how can any form to turn in the search form, prescribe the same action as the form in searchform.php and all - Monique.OHa commented on July 9th 19 at 10:43

Find more questions by tags PHPWordPress