This file contains 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($) { | |
var observer = new MutationObserver(function(mutations) { | |
mutations.forEach(function(mutation) { | |
if (mutation.attributeName === 'class') { | |
if ( $(mutation.target).hasClass('woopack-ajax-loaded') ) { | |
if ( $('.woopack-modal-content .woo-variation-gallery-wrapper').length > 0 ) { | |
$('.woopack-modal-content .woo-variation-gallery-wrapper').WooVariationGallery(); | |
} | |
if ( $('.woopack-modal-content .variations_form').length > 0 ) { | |
$('.woopack-modal-content .variations_form').WooVariationSwatches(); |
This file contains 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($) { | |
$(document).on('facetwp-loaded', function() { | |
$('.woopack-products').imagesLoaded(function() { | |
var highestBox = 0; | |
$('.woopack-products > .product').css('height', '').each(function(){ | |
if($(this).height() > highestBox) { | |
highestBox = $(this).height(); | |
} | |
}); | |
$('.woopack-products .product').height(highestBox); |
This file contains 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
.pp-post-tile-left{ | |
float: right !important; | |
width: 50%; | |
} | |
.pp-post-tile-left .pp-post-tile-post { | |
margin-left: 5px; | |
margin-right: 0px !important; | |
} | |
.pp-post-tile-right .pp-post-tile-post { | |
margin-left: 0px !important; |
This file contains 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 fl_builder_loop_query_args_filter( $query_args ) { | |
if ( 'test-grid' == $query_args['settings']->id ) { | |
$query_args['post_parent'] = 0; | |
} | |
return $query_args; | |
} | |
add_filter( 'fl_builder_loop_query_args', 'fl_builder_loop_query_args_filter' ); |
This file contains 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($) { | |
$('.pp-table-wrap .tablesaw-sortable-switch select').trigger('change'); | |
})(jQuery); |
This file contains 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
form.woocommerce-cart-form { | |
max-width: 60%; | |
float: left; | |
} | |
.woocommerce .cart-collaterals, .woocommerce-page .cart-collaterals { | |
width: 35%; | |
float: right; | |
} |
This file contains 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
.pp-woo-products-grid .product .pp-woo-product-wrapper { | |
display: flex !important; | |
flex-direction: column; | |
align-items: center; | |
justify-content: space-between; | |
} | |
.pp-woo-products-grid .pp-woo-products-summary-wrap { | |
height: 200px; | |
display: flex; | |
flex-direction: column; |
This file contains 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($) { | |
$(window).on('load hashchange', function() { | |
if ( 'astrazeneca' === location.hash.replace('#', '') ) { | |
$('.fl-node-5eff90a74db9e .pp-er-wrap').trigger('click'); | |
} | |
}); | |
})(jQuery); |
This file contains 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($) { | |
$(document).ready(function() { | |
$('.pp-tabs-labels .pp-tabs-label').on('mouseover', function() { | |
if ( $(this).hasClass('pp-tab-active') ) { | |
return; | |
} | |
$(this).trigger('click'); | |
}); | |
}); | |
})(jQuery); |
This file contains 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($) { | |
$(document).on('pp_expandable_row_toggle', function(e, selector) { | |
if ( selector.is('.pp-er-open') && selector.parent().find( '.fl-node-5f17183d368c0' ).length > 0 ) { | |
carousel_5f17183d368c0.swipers.main.update(); | |
} | |
}); | |
})(jQuery); |
OlderNewer