This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Gravity form change validation message | |
| add_filter( 'gform_validation_message', 'change_message', 10, 2 ); | |
| function change_message( $message, $form ) { | |
| return '<div class="validation_error"><img src="'.get_template_directory_uri().'/images/gf_error-img.gif'.'">'.'Het formulier is niet succesvol verzonden.'.'</div>'; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| / IE 10+ / | |
| @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { | |
| // some fix-styles for IE10, IE11 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media (hover :hover) { | |
| //code | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function isNumeric(n) { | |
| return !isNaN(parseFloat(n)) && isFinite(n); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Callback function to filter the MCE settings | |
| function my_mce_before_init_insert_formats( $init_array ) { | |
| // Define the style_formats array | |
| $style_formats = array( | |
| // Each array child is a format with it's own settings | |
| array( | |
| 'title' => 'Gray background ', | |
| 'block' => 'div', | |
| 'classes' => 'gray-lay', | |
| 'wrapper' => true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="overlay" onClick="style.pointerEvents='none'"></div> | |
| <iframe src="#"></iframe> | |
| .overlay { | |
| background:transparent; | |
| position:relative; | |
| width:100%; | |
| height:550px; | |
| top:550px; | |
| margin-top:-550px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| video[autoplay]:not([muted]) { | |
| display: none; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .backgroundblendmode { | |
| background-color: rgba(59, 77, 112, 0.86); | |
| background-blend-mode: multiply; | |
| } | |
| //Media queries | |
| /*Iphones*/ | |
| @media only screen and (min-device-width: 320px) and (max-device-width: 768px) and (orientation: portrait) { | |
| .backgroundblendmode .services__item-wrap:first-child { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .menu { | |
| text-align: justify; | |
| } | |
| .menu:after { | |
| display: inline-block; | |
| content: ''; | |
| width: 100%; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .footer { | |
| min-height: 460px; | |
| transform: translateZ(0); | |
| } | |
| .footer__inner { | |
| position: relative; | |
| } | |
| .footer-inner:after { | |
| position: absolute; | |
| top: 0; |