aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzapatosgatos <bostwicm@gmail.com>2019-09-04 10:44:06 -0600
committerzapatosgatos <bostwicm@gmail.com>2019-09-04 10:44:06 -0600
commit5d172a968b61faf389e9d92e7962bf6daf4ed69c (patch)
tree27bde9ce260a361887a6445500be404963da562f
parentf45f2473f8935d4621305fcad7afe60b40967507 (diff)
downloadallegiance-5d172a968b61faf389e9d92e7962bf6daf4ed69c.tar
allegiance-5d172a968b61faf389e9d92e7962bf6daf4ed69c.tar.gz
allegiance-5d172a968b61faf389e9d92e7962bf6daf4ed69c.tar.bz2
allegiance-5d172a968b61faf389e9d92e7962bf6daf4ed69c.tar.xz
allegiance-5d172a968b61faf389e9d92e7962bf6daf4ed69c.zip
Adjusted borders on mobile contact form
-rw-r--r--site/allegiance_site/static/css/custom.css6
-rw-r--r--site/allegiance_site/templates/base-contact.html16
-rw-r--r--site/allegiance_site/templates/base.html9
-rw-r--r--site/allegiance_site/templates/contact.html2
4 files changed, 25 insertions, 8 deletions
diff --git a/site/allegiance_site/static/css/custom.css b/site/allegiance_site/static/css/custom.css
index 9fbf342..04b5d99 100644
--- a/site/allegiance_site/static/css/custom.css
+++ b/site/allegiance_site/static/css/custom.css
@@ -6,6 +6,12 @@
top:30px;
}*/
+@media (max-width:992px){
+ .contact-form {
+ border-right:0 !important;
+ }
+}
+
.pl-15 {
padding-left: 15px !important;
}
diff --git a/site/allegiance_site/templates/base-contact.html b/site/allegiance_site/templates/base-contact.html
index 78ea1ee..e2f9469 100644
--- a/site/allegiance_site/templates/base-contact.html
+++ b/site/allegiance_site/templates/base-contact.html
@@ -5,6 +5,16 @@
<title>{% block title %}This is my new project home page{% endblock title %}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
+
+ <!-- django CMS toolbar adjustment -->
+ {% if request.toolbar %}
+ <style>
+ .cms-toolbar-expanded .navbar.fixed-top {
+ margin-top: 45px;
+ }
+ </style>
+ {% endif %}
+
<style type="text/css">
.nav {
padding-left: 0;
@@ -44,9 +54,9 @@
<body>
{% cms_toolbar %}
<header class="header_area">
- <div class="main_menu navbar-navy">
+ <div class="main_menu">
<div class="container">
- <nav class="navbar navbar-expand-lg">
+ <nav class="navbar fixed-top navbar-navy navbar-expand-lg">
<!--<div class="container">-->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
@@ -95,7 +105,7 @@
<script src="{% static 'js/mail-script.js' %}"></script>
<script src="{% static 'js/countdown.js' %}"></script>
<!--gmaps Js-->
- <!--<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCjCGmQ0Uq4exrzdcL6rvxywDDOvfAu6eE"></script>
+ <!--<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAS8vmUpWko8viV1CYF9hxMUE45HTjiCTE"></script>
<script src="js/gmaps.min.js"></script>
<script src="js/theme.js"></script>-->
</body>
diff --git a/site/allegiance_site/templates/base.html b/site/allegiance_site/templates/base.html
index a66a896..666b84e 100644
--- a/site/allegiance_site/templates/base.html
+++ b/site/allegiance_site/templates/base.html
@@ -84,24 +84,25 @@
<div class="row section_gap pt-3 pb-3">
<div class="col-lg-3 col-md-6 col-sm-6">
<div class="single-footer-widget tp_widgets">
- <h4 class="footer_title large_title">Our Mission</h4>
+ <!--<h4 class="footer_title large_title">Our Mission</h4>
<p>
Our mission at Allegiance Ranch and Equine Rescue is to help horses and heroes by offering a safe place
for healing, developing a sense of purpose, and establishing meaningful connections between horses and
humans. We strive to provide a safe and welcoming place for all who come to the ranch.
- </p>
+ </p>-->
+ {% placeholder 'Mission' %}
</div>
</div>
<div class="offset-lg-1 col-lg-2 col-md-6 col-sm-6">
<div class="single-footer-widget tp_widgets">
<h4 class="footer_title">Quick Links</h4>
<ul class="list">
- <li><a href="#">Home</a></li>
+ <!--<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Causes</a></li>
<li><a href="#">Event</a></li>
<li><a href="#">News</a></li>
- <li><a href="#">Contact</a></li>
+ <li><a href="#">Contact</a></li>-->
</ul>
</div>
</div>
diff --git a/site/allegiance_site/templates/contact.html b/site/allegiance_site/templates/contact.html
index 4bc7a1e..400359e 100644
--- a/site/allegiance_site/templates/contact.html
+++ b/site/allegiance_site/templates/contact.html
@@ -10,7 +10,7 @@
<div class="container">
<h1 class="text-center mb-5">Contact Us</h1>
<div class="row">
- <div class="col-lg-8 pb-5 border-right">
+ <div class="col-lg-8 pb-5 contact-form border-right">
<form>
<div class="form-row">
<div class="col-lg pt-4">