kindly help me adjust left padding for pop up form on mobile view without disturbing desktop settings
my pop up form code is here
/* The Modal (background) */ .modal { display: none; /* Hidden by default */ position: relative; /* Stay in place */ z-index: 1; /* Sit on top */ padding-top: 20px; /* Location of the box */ left: 700px; top: 0px; width: 25%; /* Full width */ height: 25%; /* Full height */ overflow: auto; /* Enable scroll if needed */ background-color: rgb(0,0,0); /* Fallback color */ background-color: rgb(256,256,256,0.7); /* Black w/ opacity */ } /* Modal Content */ .modal-content { background-color: rgba(128,128,128,0.3); margin: auto; padding-top: 20px; padding-left: 20px; border: 1px solid #000000; width: 80%; } close { color: #000000; float: left; font-size: 36px; font-weight: bold; } .close:hover, .close:focus { color: #000000; text-decoration: none; cursor: pointer; }We are Here to HELP!
Talk to US...
×
{% form ‘contact’ %}
{% if form.posted_successfully? %}
{{ ‘contact.form.post_success’ | t }}
{% endif %}
{{ form.errors | default_errors }}
{{ ‘contact.form.name’ | t }}
{{ ‘contact.form.email’ | t }}
{{ ‘contact.form.phone’ | t }}
{{ ‘contact.form.message’ | t }}
{% if form.body %}{{ form.body }}{% endif %}{% endform %}