Cat Distributor v2 css

h1{text-transform: none!important;} h2{text-transform: none!important;} h3{text-transform: none!important;} .ultp-block-title a{text-transform: none!important;} .site-branding .site-title { font-style: normal!important; font-weight: 500!important; font-size: 3.494rem!important; line-height: 1.2!important; letter-spacing: -0.029em!important; font-family: ‘Playfair Display’, serif!important; color: #000000!important; } /* All Mobile Sizes (devices and browser) */ @media only screen…Continue reading

HosaEna Header Solid Transition

(function(){ const header = document.querySelector(‘.site-header’); function setSolidByScroll(){ if(!header) return; if(window.scrollY > 50){ header.classList.add(‘he-solid’); } else { header.classList.remove(‘he-solid’); } } window.addEventListener(‘scroll’, setSolidByScroll, {passive:true}); document.addEventListener(‘DOMContentLoaded’, setSolidByScroll); if(header){ header.addEventListener(‘mouseenter’, ()=> header.classList.add(‘he-solid’)); header.addEventListener(‘mouseleave’, ()=> setSolidByScroll()); } })();Continue reading

In Control Common JS

function isReady(reference) { switch(reference) { case ‘document’: if(window.document && window.document.body) return true; break; case ‘fancybox’: if(typeof(window.Fancybox) != ‘undefined’) return true; break; } return false; } function allReady() { var dependencies = Array.from(arguments); dependencies.unshift(‘document’); return dependencies.every(isReady); } function waitFor() { if(arguments.length…Continue reading

How to Style the WC Vendors Signup Form

/* ===================================================== WCV Vendors Signup Form – Custom Styling This CSS snippet customizes the vendor registration form to improve layout, typography, colors, and button style ===================================================== */ /* Add another column */ form#wcv-registration-form { column-count: 2; column-gap: 64px; } /*…Continue reading

Single product – Select default variation

jQuery(function ($) { function variationMatchesVisibleSelectOptions($form, variation) { if (!variation || !variation.attributes) return false; for (const attrName in variation.attributes) { const attrValue = variation.attributes[attrName]; const $select = $form.find(‘select[name=”‘ + attrName + ‘”]’); if (!$select.length) return false; // Bestaat deze value echt…Continue reading

Logo Scroll Shrink (CSS)

/* Prevent transition flicker during measurement */ header.sticky-header.no-anim { transition: none !important; } /* Transforms */ header.sticky-header .logo img, header.sticky-header.elementor-sticky–effects .tagline, header.sticky-header, header.sticky-header #schedule-service-btn { transition: transform 0.25s ease; } /* Optional element scales */ header.sticky-header.scrolled .logo { transform: scale(0.7);…Continue reading