4e60fc81 by Jeff Balicki

eee

1 parent 470ef025
......@@ -16479,6 +16479,12 @@ h4, .h4 {
display: none !important;
}
body {
padding-right: 0px !important;
max-width: 100vh;
overflow-x: hidden;
}
@media (min-width: 1400px) {
.container,
.container-lg,
......@@ -16553,6 +16559,7 @@ ss3-force-full-width {
#desktop.n2-section-smartslider {
display: block;
max-width: 100vh;
}
@media (max-width: 500px) {
#desktop.n2-section-smartslider {
......@@ -16562,6 +16569,8 @@ ss3-force-full-width {
#mobile.n2-section-smartslider {
display: none;
max-width: 100vh;
overflow-x: hidden;
}
@media (max-width: 500px) {
#mobile.n2-section-smartslider {
......@@ -16999,6 +17008,10 @@ ss3-force-full-width {
font-size: 1.25rem;
}
.modal {
max-width: 100vw;
}
#exampleModalLong {
padding-right: 0px !important;
}
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -75,7 +75,7 @@ jQuery( document ).ready(function($) {
document.addEventListener( 'wpcf7mailsent', function( event ) {
if ( '36' == event.detail.contactFormId ) {
console.log('wpcf7submit');
$('.fieldset-cf7mls-wrapper').remove();
$('.cf7mls_progress_bar').remove();
$('.thank-you').show();
......@@ -193,19 +193,33 @@ $(window).on('load resize scroll', function() {
$(document).on("click",".start_a_contact",function() {
$('#exampleModalLong').find('form').append('<input type="hidden" name="planner_id" value="'+$(this).data('store-id')+'"/>')
$('#exampleModalLong').modal('show');
if($(window).width() < '700px'){
if ($(window).width() < 600) {
console.log($(window).width() );
$("#mobile.n2-section-smartslider").hide();
$('html, body').css({
overflow: 'hidden',
height: '100%'
height: '100vh'
});
}
$('#exampleModalLong').find('form').append('<input type="hidden" name="planner_id" value="'+$(this).data('store-id')+'"/>')
$('#exampleModalLong').modal('show');
});
$(document).on("click",".find-a-planner-close",function() {
$('#exampleModalLong').modal('hide');
if ($(window).width() < 600) {
console.log($(window).width() );
$("#mobile.n2-section-smartslider").show();
$('html, body').css({
overflow: 'scroll',
height: 'auto'
});
$([document.documentElement, document.body]).scrollTop($("#wpsl-wrap").offset().top);
}
$('#exampleModalLong').modal('hide');
});
......
body{
padding-right: 0px !important;
max-width: 100vh;
overflow-x: hidden;
}
@media (min-width: 1400px) {
.container,
.container-lg,
......@@ -20,6 +25,7 @@
}
button {
-webkit-appearance: none;
-moz-appearance: none;
......@@ -70,6 +76,7 @@ ss3-force-full-width{
#desktop.n2-section-smartslider{
display: block;
max-width: 100vh;
@media (max-width: 500px) {
display: none;
}
......@@ -78,6 +85,8 @@ ss3-force-full-width{
#mobile.n2-section-smartslider{
display: none;
max-width: 100vh;
overflow-x: hidden;
@media (max-width: 500px) {
display: block;
}
......@@ -470,12 +479,15 @@ span.number-med.last{
font-size: 20px;
}
}
.modal{
max-width: 100vw;
}
#exampleModalLong {
padding-right: 0px !important;
.wpcf7-form{
margin-top: -30px;
}
.modal-content {
top: 10px !important;
border-radius: 0px;
......
......@@ -5,7 +5,7 @@
Author: the Understrap Contributors
Author URI: https://github.com/understrap/understrap-child/graphs/contributors
Template: understrap
Version: 1.1.3018
Version: 1.1.3019
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: understrap-child
......