(function(window, undefined) { var snize_search_results_page = '/pages/search-results-page'; if (window.location.pathname.substr(0, snize_search_results_page.length) === snize_search_results_page && typeof window.Shopify !== 'undefined') { var snize_search_results_page_classes = ' snize-results-page'; var theme_name = Shopify.theme.name.toLowerCase(); var themes_for_css_hacking = Array( 'story', 'boost', 'cascade', 'impulse', 'artisan', 'prestige', 'reach', 'modular', 'motion', 'loft', 'split', 'empire', 'venue', 'narrative', 'local', 'galleria', 'editorial', 'handy', 'trademark', 'capital', 'vogue', 'debut', 'flow', 'lorenza', 'launch', 'ira', 'palo alto', 'maker', 'label', 'atlantic', 'vantage', 'venture', 'boundless', 'pipeline', 'colors', 'kagami', 'district', 'canopy', 'brooklyn', 'kingdom', 'grid', 'showtime', 'pacific', 'california', 'icon', 'supply', 'pop', 'minimal', 'showcase', 'alchemy', 'startup', 'blockshop', 'providence', 'mr parker', 'symmetry', 'mobilia', 'editions', 'masonry', 'expression' ); var theme_name_for_hacking = ''; themes_for_css_hacking.forEach(function(themeElement) { if (theme_name.indexOf(themeElement) + 1) { theme_name_for_hacking = themeElement; } }); if (theme_name_for_hacking.length > 0) { snize_search_results_page_classes += ' snize-' + theme_name_for_hacking.replace(/ /g, '-') + '-css-fix'; } document.body.className += snize_search_results_page_classes; } var snize_results = document.getElementById('snize_results'); if (snize_results != null && snize_results != undefined && snize_results.innerHTML != '') { return; } sInterval = setInterval(function() { var snize_results = document.getElementById('snize_results'); if (snize_results != null && snize_results != undefined && snize_results.innerHTML != '') { clearInterval(sInterval); var skeleton_results = document.getElementById('snize_skeleton_results'); skeleton_results.parentNode.removeChild(skeleton_results); return; } var grid_wrapper = document.getElementById('snize-search-results-wrapper'); if (grid_wrapper.offsetWidth >= 1055) { grid_wrapper.className = grid_wrapper.className.replace(/(?:^| )snize-three-columns(?!S)/g , '').replace(/(?:^| )snize-four-columns(?!S)/g , ''); if (!grid_wrapper.className.match(/(?:^| )snize-five-columns(?!S)/)) { grid_wrapper.className += ' snize-five-columns'; } } else if (grid_wrapper.offsetWidth >= 915) { grid_wrapper.className = grid_wrapper.className.replace(/(?:^| )snize-three-columns(?!S)/g , '').replace(/(?:^| )snize-five-columns(?!S)/g , ''); if (!grid_wrapper.className.match(/(?:^| )snize-four-columns(?!S)/)) { grid_wrapper.className += ' snize-four-columns'; } } else { grid_wrapper.className = grid_wrapper.className.replace(/(?:^| )snize-four-columns(?!S)/g , '').replace(/(?:^| )snize-five-columns(?!S)/g , ''); if (!grid_wrapper.className.match(/(?:^| )snize-three-columns(?!S)/)) { grid_wrapper.className += ' snize-three-columns'; } } }, 30); if (window.location.href.indexOf('collection=') != -1) { var elements = document.getElementsByClassName('snize-search-results-page-title'); var elementsArray = Array.prototype.slice.call(elements); elementsArray.forEach(function(domElement) { domElement.style.display = 'none'; }); } })(window); Search results page is powered by Searchanise. Please, don't delete this page