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) {
function fixUlisting() {
$the_theme = wp_get_theme();
wp_deregister_script( 'megamenu' );
wp_dequeue_script( 'megamenu' );
wp_enqueue_script( 'megamenu', get_stylesheet_directory_uri().'/js/maxmegamenu.js', array(), $the_theme->get( 'Version' ), true );
// wp_deregister_script( 'megamenu' );
// wp_dequeue_script( 'megamenu' );
// wp_enqueue_script( 'megamenu', get_stylesheet_directory_uri().'/js/maxmegamenu.js', array(), $the_theme->get( 'Version' ), true );
wp_deregister_script( 'search-filter-plugin-build' );
wp_dequeue_script( 'search-filter-plugin-build' );
wp_register_script( 'search-filter-plugin-build', get_stylesheet_directory_uri().'/js/search-filter-build.js', array('jquery'), $the_theme->get( 'Version' ), true );
$js_data = array(
'ajax_url' => admin_url( 'admin-ajax.php' ),
'home_url' => home_url( '/' ),
'extensions' => apply_filters( 'search_filter_extensions', array() ),
);
wp_localize_script( 'search-filter-plugin-build', 'SF_LDATA', $js_data );
wp_enqueue_script('search-filter-plugin-build');
}
//add_action( 'wp_enqueue_scripts', 'fixUlisting', 100 );
add_action( 'wp_enqueue_scripts', 'fixUlisting', 100 );
// add_filter( 'get_custom_logo_image_attributes', function(
......
......@@ -20690,11 +20690,18 @@
$(document).on("click", ".search-filter-reset-custom", function (e) {
e.preventDefault();
$(this).closest('.searchandfilter')[0].reset();
$('#top-search').val();
return false;
});
//$('.search-filter-reset').unbind('click');
$(document).on("click", ".search-filter-reset", function (e) {
e.preventDefault();
$('.searchandfilter')[0].reset();
console.log('reset');
const search = new URLSearchParams();
search.set('_sf_s', $('#top-search').val());
location.search = search.toString();
return false;
});
$(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($) {
$(document).on("click", ".search-filter-reset-custom", function(e){
e.preventDefault();
$(this).closest('.searchandfilter')[0].reset();
$('#top-search').val();
return false;
});
//$('.search-filter-reset').unbind('click');
$(document).on("click", ".search-filter-reset", function(e){
e.preventDefault();
$('.searchandfilter')[0].reset();
console.log('reset');
const search = new URLSearchParams();
search.set('_sf_s', $('#top-search').val());
location.search = search.toString();
return false;
});
......
......@@ -12,7 +12,7 @@ body{
// margin: 0.625rem 1.875rem 0 1.875rem;
}
@import "mega_menu";
//@import "mega_menu";
@import "menu";
@import "header";
@import "custom_select";
......
......@@ -47,6 +47,7 @@ h2{
font-size: 28px;
line-height: 35px;
color:#000;
margin-top: 32px;
@media only screen and (max-width: 48.875rem) {
font-size: 29px;
line-height: 36px;
......
......@@ -74,13 +74,22 @@
width: 80% !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(4) > ul.mega-sub-menu{
.mega-sub-menu:has(.mega-menu-columns-6-of-12){
width: 53% !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(2) > ul.mega-sub-menu{
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(3) > ul.mega-sub-menu{
left: unset !important;
right: 0rem !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(4) > ul.mega-sub-menu{
// left: unset !important;
//right: 0rem !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu:nth-child(5) > ul.mega-sub-menu{
width: 80% !important;
left: unset !important;
right: 0rem !important;
}
......@@ -103,6 +112,7 @@
text-decoration: none;
white-space: break-spaces;
font-size: 18px;
line-height: 24px;
font-weight: 400;
font-family: "PT Sans",sans-serif;
font-weight:bold
......@@ -114,11 +124,14 @@
}
#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 {
color:#000;
margin-top: 3px;
}
#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 {
font-size:18px;
line-height: 21px;
font-family: "PT Sans",sans-serif;
text-transform: uppercase;
}
#mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link .mega-description-group .mega-menu-description{
......
......@@ -58,6 +58,8 @@
}
}
}
.search-box:hover,
.search-box:focus-within{
width: 100%;
......
......@@ -65,11 +65,19 @@
max-height: 291px;
overflow: hidden;
position: relative;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden
}
img {
height: 100%;
width: 100%;
object-fit: cover;
object-fit: contain;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
max-width: 100%;
max-height: 100%;
transition: all 0.5s ease-in-out;
}
a {
......
......@@ -1063,4 +1063,19 @@ ul.sf_date_field {
.otgs-development-site-front-end{
display: none !important;
}
#search-wrapper{
.container{
@media screen and (max-width: 1067px) {
margin: 0rem 1.875rem 0 1.875rem;
}
@media screen and (max-width:48.875rem) {
margin: 0rem;
}
}
}
.admin-bar .select2-container--open .select2-dropdown{
top:32px;
}
\ No newline at end of file
......