I have a form with two different characteristics, one for mobile and one for desktop. I do not know how to configure one to show and one to hide depending on whether the site is on the desktop or mobile.
Reading some answers here from the forum I tried the following:
<!-- aparecer no desktop -->
<div class="mobile-hide">
------------------------------------------
<div style="position: fixed; bottom: 0; width:1170px; text-align: center;">
<?php get_template_part('inc_booking'); ?>
</div>
código do 1° formulário, sem necessidade de alteração
------------------------------------------
</div>
<!-- /aparecer no desktop -->
<!-- aparecer no mobile -->
<div class="mobile">
<div class="desktop-hide">
------------------------------------------
<?php get_template_part('inc_booking'); ?>
</div>
código do 2° formulário, sem necessidade de alteração
------------------------------------------
</div>
<!-- /aparecer no mobile -->
But the two versions are being presented both on the desktop and on the mobile.