(function(){
let w = window.innerWidth;
function setHeaderCssVar() {
const headerEle = document.getElementById('shoplaza-section-header');
if(!headerEle){ return };
document.body.style.setProperty('--window-height', `${window.innerHeight}px`);
document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`);
const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide');
if (mdScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`);
}
const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide');
if (pcScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`);
}
}
function handlResize() {
if(w == window.innerWidth){return};
w = window.innerWidth;
setHeaderCssVar();
};
function init(){
setHeaderCssVar();
window.removeEventListener('resize', window._theme_header_listener)
window._theme_header_listener = handlResize;
window.addEventListener('resize', window._theme_header_listener);
}
init();
})();
Recipe: Frozen Pear Slushie
Mar 04, 2025
by greeneverhome
Servings: 4 Ingredients: 2 ripe pears (washed and chopped) 2 cups water 2 tbsp sugar
Steps: 1️⃣ Prep your pears! Wash, peel (optional), and cut them into chunks. 2️⃣ Blend it up! Add the pear chunks, sugar, and 2 cup of water into a blender. Blend until smooth. 3️⃣ Pour the fresh pear juice into a slush machine. 4️⃣ Turn on the machine and let it work its magic until you get that perfect icy texture. 5️⃣ Scoop the pear slush into a glass. 6️⃣ Grab a spoon or straw, sit back, and enjoy your refreshing homemade pear slush!