eee
Showing
7 changed files
with
47 additions
and
8 deletions
| ... | @@ -16479,6 +16479,12 @@ h4, .h4 { | ... | @@ -16479,6 +16479,12 @@ h4, .h4 { |
| 16479 | display: none !important; | 16479 | display: none !important; |
| 16480 | } | 16480 | } |
| 16481 | 16481 | ||
| 16482 | body { | ||
| 16483 | padding-right: 0px !important; | ||
| 16484 | max-width: 100vh; | ||
| 16485 | overflow-x: hidden; | ||
| 16486 | } | ||
| 16487 | |||
| 16482 | @media (min-width: 1400px) { | 16488 | @media (min-width: 1400px) { |
| 16483 | .container, | 16489 | .container, |
| 16484 | .container-lg, | 16490 | .container-lg, |
| ... | @@ -16553,6 +16559,7 @@ ss3-force-full-width { | ... | @@ -16553,6 +16559,7 @@ ss3-force-full-width { |
| 16553 | 16559 | ||
| 16554 | #desktop.n2-section-smartslider { | 16560 | #desktop.n2-section-smartslider { |
| 16555 | display: block; | 16561 | display: block; |
| 16562 | max-width: 100vh; | ||
| 16556 | } | 16563 | } |
| 16557 | @media (max-width: 500px) { | 16564 | @media (max-width: 500px) { |
| 16558 | #desktop.n2-section-smartslider { | 16565 | #desktop.n2-section-smartslider { |
| ... | @@ -16562,6 +16569,8 @@ ss3-force-full-width { | ... | @@ -16562,6 +16569,8 @@ ss3-force-full-width { |
| 16562 | 16569 | ||
| 16563 | #mobile.n2-section-smartslider { | 16570 | #mobile.n2-section-smartslider { |
| 16564 | display: none; | 16571 | display: none; |
| 16572 | max-width: 100vh; | ||
| 16573 | overflow-x: hidden; | ||
| 16565 | } | 16574 | } |
| 16566 | @media (max-width: 500px) { | 16575 | @media (max-width: 500px) { |
| 16567 | #mobile.n2-section-smartslider { | 16576 | #mobile.n2-section-smartslider { |
| ... | @@ -16999,6 +17008,10 @@ ss3-force-full-width { | ... | @@ -16999,6 +17008,10 @@ ss3-force-full-width { |
| 16999 | font-size: 1.25rem; | 17008 | font-size: 1.25rem; |
| 17000 | } | 17009 | } |
| 17001 | 17010 | ||
| 17011 | .modal { | ||
| 17012 | max-width: 100vw; | ||
| 17013 | } | ||
| 17014 | |||
| 17002 | #exampleModalLong { | 17015 | #exampleModalLong { |
| 17003 | padding-right: 0px !important; | 17016 | padding-right: 0px !important; |
| 17004 | } | 17017 | } | ... | ... |
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($) { | ... | @@ -75,7 +75,7 @@ jQuery( document ).ready(function($) { |
| 75 | 75 | ||
| 76 | document.addEventListener( 'wpcf7mailsent', function( event ) { | 76 | document.addEventListener( 'wpcf7mailsent', function( event ) { |
| 77 | if ( '36' == event.detail.contactFormId ) { | 77 | if ( '36' == event.detail.contactFormId ) { |
| 78 | console.log('wpcf7submit'); | 78 | |
| 79 | $('.fieldset-cf7mls-wrapper').remove(); | 79 | $('.fieldset-cf7mls-wrapper').remove(); |
| 80 | $('.cf7mls_progress_bar').remove(); | 80 | $('.cf7mls_progress_bar').remove(); |
| 81 | $('.thank-you').show(); | 81 | $('.thank-you').show(); |
| ... | @@ -193,19 +193,33 @@ $(window).on('load resize scroll', function() { | ... | @@ -193,19 +193,33 @@ $(window).on('load resize scroll', function() { |
| 193 | 193 | ||
| 194 | 194 | ||
| 195 | $(document).on("click",".start_a_contact",function() { | 195 | $(document).on("click",".start_a_contact",function() { |
| 196 | $('#exampleModalLong').find('form').append('<input type="hidden" name="planner_id" value="'+$(this).data('store-id')+'"/>') | 196 | |
| 197 | $('#exampleModalLong').modal('show'); | 197 | if ($(window).width() < 600) { |
| 198 | if($(window).width() < '700px'){ | 198 | console.log($(window).width() ); |
| 199 | $("#mobile.n2-section-smartslider").hide(); | ||
| 199 | $('html, body').css({ | 200 | $('html, body').css({ |
| 200 | overflow: 'hidden', | 201 | overflow: 'hidden', |
| 201 | height: '100%' | 202 | height: '100vh' |
| 202 | }); | 203 | }); |
| 203 | } | 204 | } |
| 205 | $('#exampleModalLong').find('form').append('<input type="hidden" name="planner_id" value="'+$(this).data('store-id')+'"/>') | ||
| 206 | $('#exampleModalLong').modal('show'); | ||
| 207 | |||
| 208 | |||
| 204 | }); | 209 | }); |
| 205 | 210 | ||
| 206 | $(document).on("click",".find-a-planner-close",function() { | 211 | $(document).on("click",".find-a-planner-close",function() { |
| 207 | $('#exampleModalLong').modal('hide'); | ||
| 208 | 212 | ||
| 213 | if ($(window).width() < 600) { | ||
| 214 | console.log($(window).width() ); | ||
| 215 | $("#mobile.n2-section-smartslider").show(); | ||
| 216 | $('html, body').css({ | ||
| 217 | overflow: 'scroll', | ||
| 218 | height: 'auto' | ||
| 219 | }); | ||
| 220 | $([document.documentElement, document.body]).scrollTop($("#wpsl-wrap").offset().top); | ||
| 221 | } | ||
| 222 | $('#exampleModalLong').modal('hide'); | ||
| 209 | }); | 223 | }); |
| 210 | 224 | ||
| 211 | 225 | ... | ... |
| 1 | body{ | ||
| 2 | padding-right: 0px !important; | ||
| 3 | max-width: 100vh; | ||
| 4 | overflow-x: hidden; | ||
| 5 | } | ||
| 1 | @media (min-width: 1400px) { | 6 | @media (min-width: 1400px) { |
| 2 | .container, | 7 | .container, |
| 3 | .container-lg, | 8 | .container-lg, |
| ... | @@ -20,6 +25,7 @@ | ... | @@ -20,6 +25,7 @@ |
| 20 | 25 | ||
| 21 | } | 26 | } |
| 22 | 27 | ||
| 28 | |||
| 23 | button { | 29 | button { |
| 24 | -webkit-appearance: none; | 30 | -webkit-appearance: none; |
| 25 | -moz-appearance: none; | 31 | -moz-appearance: none; |
| ... | @@ -70,6 +76,7 @@ ss3-force-full-width{ | ... | @@ -70,6 +76,7 @@ ss3-force-full-width{ |
| 70 | 76 | ||
| 71 | #desktop.n2-section-smartslider{ | 77 | #desktop.n2-section-smartslider{ |
| 72 | display: block; | 78 | display: block; |
| 79 | max-width: 100vh; | ||
| 73 | @media (max-width: 500px) { | 80 | @media (max-width: 500px) { |
| 74 | display: none; | 81 | display: none; |
| 75 | } | 82 | } |
| ... | @@ -78,6 +85,8 @@ ss3-force-full-width{ | ... | @@ -78,6 +85,8 @@ ss3-force-full-width{ |
| 78 | 85 | ||
| 79 | #mobile.n2-section-smartslider{ | 86 | #mobile.n2-section-smartslider{ |
| 80 | display: none; | 87 | display: none; |
| 88 | max-width: 100vh; | ||
| 89 | overflow-x: hidden; | ||
| 81 | @media (max-width: 500px) { | 90 | @media (max-width: 500px) { |
| 82 | display: block; | 91 | display: block; |
| 83 | } | 92 | } |
| ... | @@ -470,12 +479,15 @@ span.number-med.last{ | ... | @@ -470,12 +479,15 @@ span.number-med.last{ |
| 470 | font-size: 20px; | 479 | font-size: 20px; |
| 471 | } | 480 | } |
| 472 | } | 481 | } |
| 473 | 482 | .modal{ | |
| 483 | max-width: 100vw; | ||
| 484 | } | ||
| 474 | #exampleModalLong { | 485 | #exampleModalLong { |
| 475 | padding-right: 0px !important; | 486 | padding-right: 0px !important; |
| 476 | .wpcf7-form{ | 487 | .wpcf7-form{ |
| 477 | margin-top: -30px; | 488 | margin-top: -30px; |
| 478 | } | 489 | } |
| 490 | |||
| 479 | .modal-content { | 491 | .modal-content { |
| 480 | top: 10px !important; | 492 | top: 10px !important; |
| 481 | border-radius: 0px; | 493 | border-radius: 0px; | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | Author: the Understrap Contributors | 5 | Author: the Understrap Contributors |
| 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors | 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors |
| 7 | Template: understrap | 7 | Template: understrap |
| 8 | Version: 1.1.3018 | 8 | Version: 1.1.3019 |
| 9 | License: GNU General Public License v2 or later | 9 | License: GNU General Public License v2 or later |
| 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html | 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 11 | Text Domain: understrap-child | 11 | Text Domain: understrap-child | ... | ... |
-
Please register or sign in to post a comment