'This form is not showing on mobile view

this form is not showing on mobile view and tab view

<form method="post" action="search_file.php"
    class="header-search hs-expanded hs-round d-none d-md-flex input-wrapper">
    <div class="select-box">
        <select id="category" name="category">
            <option value="">Entire Nepal</option>
            
        </select>
    </div>
    <input type="text" class="form-control" name="search" id="search" placeholder="Search For Anything..."
        required />
    <button class="btn btn-search" type="submit" name="submit"><i class="w-icon-search"></i>
    </button>
</form>


Solution 1:[1]

Are you using Bootstrap?

<form class="header-search hs-expanded hs-round d-none d-md-flex input-wrapper">

check your form class. There's d-none d-md-flex change it to d-flex if you want to show it on all screen sizes

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 kritiz