f9930d1c by Jeff Balicki

qa

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent dfcaf3cb
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.
...@@ -109,13 +109,24 @@ function megamenu_override_default_theme($value) { ...@@ -109,13 +109,24 @@ function megamenu_override_default_theme($value) {
109 109
110 function fixUlisting() { 110 function fixUlisting() {
111 $the_theme = wp_get_theme(); 111 $the_theme = wp_get_theme();
112 wp_deregister_script( 'megamenu' ); 112 // wp_deregister_script( 'megamenu' );
113 wp_dequeue_script( 'megamenu' ); 113 // wp_dequeue_script( 'megamenu' );
114 // wp_enqueue_script( 'megamenu', get_stylesheet_directory_uri().'/js/maxmegamenu.js', array(), $the_theme->get( 'Version' ), true );
114 115
115 wp_enqueue_script( 'megamenu', get_stylesheet_directory_uri().'/js/maxmegamenu.js', array(), $the_theme->get( 'Version' ), true ); 116 wp_deregister_script( 'search-filter-plugin-build' );
117 wp_dequeue_script( 'search-filter-plugin-build' );
116 118
119 wp_register_script( 'search-filter-plugin-build', get_stylesheet_directory_uri().'/js/search-filter-build.js', array('jquery'), $the_theme->get( 'Version' ), true );
120
121 $js_data = array(
122 'ajax_url' => admin_url( 'admin-ajax.php' ),
123 'home_url' => home_url( '/' ),
124 'extensions' => apply_filters( 'search_filter_extensions', array() ),
125 );
126 wp_localize_script( 'search-filter-plugin-build', 'SF_LDATA', $js_data );
127 wp_enqueue_script('search-filter-plugin-build');
117 } 128 }
118 //add_action( 'wp_enqueue_scripts', 'fixUlisting', 100 ); 129 add_action( 'wp_enqueue_scripts', 'fixUlisting', 100 );
119 130
120 131
121 // add_filter( 'get_custom_logo_image_attributes', function( 132 // add_filter( 'get_custom_logo_image_attributes', function(
......
...@@ -20690,11 +20690,18 @@ ...@@ -20690,11 +20690,18 @@
20690 $(document).on("click", ".search-filter-reset-custom", function (e) { 20690 $(document).on("click", ".search-filter-reset-custom", function (e) {
20691 e.preventDefault(); 20691 e.preventDefault();
20692 $(this).closest('.searchandfilter')[0].reset(); 20692 $(this).closest('.searchandfilter')[0].reset();
20693 $('#top-search').val();
20693 return false; 20694 return false;
20694 }); 20695 });
20696
20697 //$('.search-filter-reset').unbind('click');
20698
20695 $(document).on("click", ".search-filter-reset", function (e) { 20699 $(document).on("click", ".search-filter-reset", function (e) {
20696 e.preventDefault(); 20700 e.preventDefault();
20697 $('.searchandfilter')[0].reset(); 20701 console.log('reset');
20702 const search = new URLSearchParams();
20703 search.set('_sf_s', $('#top-search').val());
20704 location.search = search.toString();
20698 return false; 20705 return false;
20699 }); 20706 });
20700 $(document).on("click", ".top-go", function (e) { 20707 $(document).on("click", ".top-go", function (e) {
......
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.
This diff could not be displayed because it is too large.
...@@ -39,12 +39,18 @@ var Search = (function($) { ...@@ -39,12 +39,18 @@ var Search = (function($) {
39 $(document).on("click", ".search-filter-reset-custom", function(e){ 39 $(document).on("click", ".search-filter-reset-custom", function(e){
40 e.preventDefault(); 40 e.preventDefault();
41 $(this).closest('.searchandfilter')[0].reset(); 41 $(this).closest('.searchandfilter')[0].reset();
42 $('#top-search').val();
42 return false; 43 return false;
43 }); 44 });
44 45
46 //$('.search-filter-reset').unbind('click');
47
45 $(document).on("click", ".search-filter-reset", function(e){ 48 $(document).on("click", ".search-filter-reset", function(e){
46 e.preventDefault(); 49 e.preventDefault();
47 $('.searchandfilter')[0].reset(); 50 console.log('reset');
51 const search = new URLSearchParams();
52 search.set('_sf_s', $('#top-search').val());
53 location.search = search.toString();
48 return false; 54 return false;
49 }); 55 });
50 56
......
...@@ -12,7 +12,7 @@ body{ ...@@ -12,7 +12,7 @@ body{
12 // margin: 0.625rem 1.875rem 0 1.875rem; 12 // margin: 0.625rem 1.875rem 0 1.875rem;
13 } 13 }
14 14
15 @import "mega_menu"; 15 //@import "mega_menu";
16 @import "menu"; 16 @import "menu";
17 @import "header"; 17 @import "header";
18 @import "custom_select"; 18 @import "custom_select";
......
...@@ -47,6 +47,7 @@ h2{ ...@@ -47,6 +47,7 @@ h2{
47 font-size: 28px; 47 font-size: 28px;
48 line-height: 35px; 48 line-height: 35px;
49 color:#000; 49 color:#000;
50 margin-top: 32px;
50 @media only screen and (max-width: 48.875rem) { 51 @media only screen and (max-width: 48.875rem) {
51 font-size: 29px; 52 font-size: 29px;
52 line-height: 36px; 53 line-height: 36px;
......
...@@ -74,13 +74,22 @@ ...@@ -74,13 +74,22 @@
74 width: 80% !important; 74 width: 80% !important;
75 75
76 } 76 }
77 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(4) > ul.mega-sub-menu{ 77 .mega-sub-menu:has(.mega-menu-columns-6-of-12){
78 width: 53% !important;
79
80 }
81 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(2) > ul.mega-sub-menu{
82
83 }
84 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(3) > ul.mega-sub-menu{
78 left: unset !important; 85 left: unset !important;
79 right: 0rem !important; 86 }
87 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(4) > ul.mega-sub-menu{
88 // left: unset !important;
89 //right: 0rem !important;
80 } 90 }
81 91
82 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(5) > ul.mega-sub-menu{ 92 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(5) > ul.mega-sub-menu{
83 width: 80% !important;
84 left: unset !important; 93 left: unset !important;
85 right: 0rem !important; 94 right: 0rem !important;
86 } 95 }
...@@ -103,6 +112,7 @@ ...@@ -103,6 +112,7 @@
103 text-decoration: none; 112 text-decoration: none;
104 white-space: break-spaces; 113 white-space: break-spaces;
105 font-size: 18px; 114 font-size: 18px;
115 line-height: 24px;
106 font-weight: 400; 116 font-weight: 400;
107 font-family: "PT Sans",sans-serif; 117 font-family: "PT Sans",sans-serif;
108 font-weight:bold 118 font-weight:bold
...@@ -114,11 +124,14 @@ ...@@ -114,11 +124,14 @@
114 } 124 }
115 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover .mega-menu-description { 125 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover .mega-menu-description {
116 color:#000; 126 color:#000;
127 margin-top: 3px;
117 } 128 }
118 129
119 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item.break-here > a.mega-menu-link { 130 #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item.break-here > a.mega-menu-link {
120 font-size:18px; 131 font-size:18px;
132 line-height: 21px;
121 font-family: "PT Sans",sans-serif; 133 font-family: "PT Sans",sans-serif;
134 text-transform: uppercase;
122 } 135 }
123 136
124 #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link .mega-description-group .mega-menu-description{ 137 #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link .mega-description-group .mega-menu-description{
......
...@@ -58,6 +58,8 @@ ...@@ -58,6 +58,8 @@
58 } 58 }
59 } 59 }
60 } 60 }
61
62
61 .search-box:hover, 63 .search-box:hover,
62 .search-box:focus-within{ 64 .search-box:focus-within{
63 width: 100%; 65 width: 100%;
......
...@@ -65,11 +65,19 @@ ...@@ -65,11 +65,19 @@
65 max-height: 291px; 65 max-height: 291px;
66 overflow: hidden; 66 overflow: hidden;
67 position: relative; 67 position: relative;
68 display: flex;
69 justify-content: center;
70 align-items: center;
71 overflow: hidden
68 } 72 }
69 img { 73 img {
70 height: 100%; 74 object-fit: contain;
71 width: 100%; 75 min-width: 100%;
72 object-fit: cover; 76 min-height: 100%;
77 width: auto;
78 height: auto;
79 max-width: 100%;
80 max-height: 100%;
73 transition: all 0.5s ease-in-out; 81 transition: all 0.5s ease-in-out;
74 } 82 }
75 a { 83 a {
......
...@@ -1064,3 +1064,18 @@ ul.sf_date_field { ...@@ -1064,3 +1064,18 @@ ul.sf_date_field {
1064 .otgs-development-site-front-end{ 1064 .otgs-development-site-front-end{
1065 display: none !important; 1065 display: none !important;
1066 } 1066 }
1067
1068 #search-wrapper{
1069 .container{
1070 @media screen and (max-width: 1067px) {
1071 margin: 0rem 1.875rem 0 1.875rem;
1072 }
1073 @media screen and (max-width:48.875rem) {
1074 margin: 0rem;
1075 }
1076 }
1077 }
1078
1079 .admin-bar .select2-container--open .select2-dropdown{
1080 top:32px;
1081 }
...\ No newline at end of file ...\ No newline at end of file
......